mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 04:19:32 +00:00
chore: lint
This commit is contained in:
@@ -20,7 +20,7 @@ interface NavbarMobileContextProps {
|
||||
}
|
||||
|
||||
const NavbarContext = createContext<NavbarMobileContextProps | undefined>(
|
||||
undefined
|
||||
undefined,
|
||||
);
|
||||
|
||||
export const NavbarProvider = ({ children }: { children: React.ReactNode }) => {
|
||||
@@ -47,7 +47,7 @@ export const useNavbarMobile = (): NavbarMobileContextProps => {
|
||||
const context = useContext(NavbarContext);
|
||||
if (!context) {
|
||||
throw new Error(
|
||||
"useNavbarMobile must be used within a NavbarMobileProvider"
|
||||
"useNavbarMobile must be used within a NavbarMobileProvider",
|
||||
);
|
||||
}
|
||||
return context;
|
||||
|
||||
Reference in New Issue
Block a user