Multi session support

This commit is contained in:
Morten Olsen
2021-06-10 12:32:47 +02:00
parent 75df75caec
commit 92d57d5b2b
15 changed files with 369 additions and 219 deletions

9
src/hooks/useSessions.ts Normal file
View File

@@ -0,0 +1,9 @@
import { useContext } from 'react';
import SessionsContext from '../contexts/SessionsContext';
const useSessions = () => {
const context = useContext(SessionsContext);
return context;
};
export default useSessions;