Update SidebarContext.tsx

This commit is contained in:
Ludy87 2025-09-24 19:47:37 +02:00
parent c6cf5bccf0
commit 6625479765
No known key found for this signature in database
GPG Key ID: 92696155E0220F94

View File

@ -45,3 +45,7 @@ export function useSidebarContext(): SidebarContextValue {
}
return context;
}
export function useOptionalSidebarContext(): SidebarContextValue | undefined {
return useContext(SidebarContext);
}