mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 15:05:35 +00:00
6 lines
194 B
TypeScript
6 lines
194 B
TypeScript
import { useContext } from 'react';
|
|
import CollectionsContext from '~/contexts/collections_context';
|
|
|
|
const useCollections = () => useContext(CollectionsContext);
|
|
export default useCollections;
|