mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 15:05:35 +00:00
feat: recreate dashboard page from previous version
This commit is contained in:
5
inertia/hooks/use_collections.tsx
Normal file
5
inertia/hooks/use_collections.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { useContext } from 'react';
|
||||
import CollectionsContext from '~/contexts/collections_context';
|
||||
|
||||
const useCollections = () => useContext(CollectionsContext);
|
||||
export default useCollections;
|
||||
Reference in New Issue
Block a user