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_favorites.tsx
Normal file
5
inertia/hooks/use_favorites.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
import { useContext } from 'react';
|
||||
import FavoritesContext from '~/contexts/favorites_context';
|
||||
|
||||
const useFavorites = () => useContext(FavoritesContext);
|
||||
export default useFavorites;
|
||||
Reference in New Issue
Block a user