chore: final layout

This commit is contained in:
Andrea
2023-03-07 12:10:29 +01:00
parent 0fc8c40fed
commit a844ec9845
11 changed files with 61 additions and 33 deletions

6
app/hooks/useMatch.ts Normal file
View File

@@ -0,0 +1,6 @@
import { useMatches } from "@remix-run/react";
export function useMatch() {
const matches = useMatches();
return matches[matches.length - 1];
}