Bug fix: My Movies back button not showing/working (#570)

fixed.

if u click on a result in my movies modal earlier, ur not able to press
back.
This commit is contained in:
BFlat authored and GitHub committed 2024-07-02 14:11:36 -04:00
1 parent 61404ab5a1
commit be0370dca7
2 files changed
+3 -3

No files matched your search

@@ -49,7 +49,7 @@ const MovieList = ({ setMovieId }: Props) => {
return (
<div className="flex h-full w-full flex-col justify-center gap-6 text-center align-middle">
<FontAwesomeIcon icon={faSpinnerThird} spin size={"3x"} />
<H3>Retreiving Completed Movies</H3>
<H3>Retrieving Completed Movies</H3>
</div>
);
}
@@ -54,10 +54,10 @@ export function Sharing({ mediaFile, setMediaFile }: Props) {
return (
<TransitionDialogue
title={generateTitle()}
titleIcon={generateMovieId.value ? faFilm : faChevronLeft}
titleIcon={generateMovieId.value ? faChevronLeft : faFilm}
titleIconClassName="text-white/60 hover:text-white/80 transition-colors duration-150"
onTitleIconClick={
generateMovieId.value ? undefined : () => setMediaFile(null)
generateMovieId.value ? () => setMediaFile(null) : undefined
}
className="max-w-6xl"
childPadding={false}