This commit is contained in:
2025-02-21 14:04:17 -03:00
parent f0b840b8e8
commit a8d0667b89
26 changed files with 197 additions and 252 deletions

View File

@@ -1,10 +1,10 @@
import { useNavigation } from "react-router";
import { Link } from "react-router";
import { Outlet } from "react-router";
import { useNavigation } from 'react-router'
import { Link } from 'react-router'
import { Outlet } from 'react-router'
export default function Layout() {
const navigation = useNavigation();
const isNavigating = Boolean(navigation.location);
const navigation = useNavigation()
const isNavigating = Boolean(navigation.location)
return (
<>
@@ -18,5 +18,5 @@ export default function Layout() {
{isNavigating ? <>Loading...</> : <Outlet />}
</>
);
)
}