mirror of
https://github.com/morten-olsen/catpic.delivery.git
synced 2026-02-08 01:46:26 +01:00
10 lines
221 B
TypeScript
10 lines
221 B
TypeScript
import { useContext } from 'react';
|
|
import SessionsContext from '../contexts/SessionsContext';
|
|
|
|
const useSessions = () => {
|
|
const context = useContext(SessionsContext);
|
|
return context;
|
|
};
|
|
|
|
export default useSessions;
|