Skip to content

Commit

Permalink
Improve loading state
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Aug 1, 2024
1 parent ccb7467 commit 676e3f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/layout/Loading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const Loading = () => {
const navigation = useNavigation();
return (
<div
className={`absolute flex items-center text-center h-screen w-screen top-0 z-50 bg-black/50 pointer-events-none transition-opacity duration-700 opacity-${
className={`fixed flex items-center text-center h-screen w-screen top-0 z-50 bg-black/50 pointer-events-none transition-opacity duration-700 opacity-${
navigation.state == "loading" ? 100 : 0
}`}
>
Expand Down

0 comments on commit 676e3f0

Please sign in to comment.