mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-26 17:52:59 +02:00
Update SidebarContext.tsx
This commit is contained in:
parent
c6cf5bccf0
commit
6625479765
@ -45,3 +45,7 @@ export function useSidebarContext(): SidebarContextValue {
|
||||
}
|
||||
return context;
|
||||
}
|
||||
|
||||
export function useOptionalSidebarContext(): SidebarContextValue | undefined {
|
||||
return useContext(SidebarContext);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user