refactor: code refactor
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
import { useMatches } from "@remix-run/react";
|
||||
|
||||
export function useMatch() {
|
||||
const matches = useMatches();
|
||||
return matches[matches.length - 1];
|
||||
}
|
Reference in New Issue
Block a user