mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-09 07:03:25 +00:00
6 lines
224 B
TypeScript
6 lines
224 B
TypeScript
import { useContext } from 'react';
|
|
import { ActiveCollectionContext } from '~/contexts/active_collection_context';
|
|
|
|
const useActiveCollection = () => useContext(ActiveCollectionContext);
|
|
export default useActiveCollection;
|