From f08f6ca0a9d337efff280d4d1669a41b5d9c31c2 Mon Sep 17 00:00:00 2001 From: piotrruss Date: Thu, 2 Sep 2021 22:28:11 +0200 Subject: finish translations, force maximize --- hooks/useApps.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 hooks/useApps.js (limited to 'hooks/useApps.js') diff --git a/hooks/useApps.js b/hooks/useApps.js new file mode 100644 index 0000000..babf712 --- /dev/null +++ b/hooks/useApps.js @@ -0,0 +1,17 @@ +import React, { createContext, useState, useContext } from 'react' + +const AppsContext = createContext() + +export const AppsProvider = ({children}) => { + const [apps, setApps] = useState([]) + + return ( + + {children} + + ) +} + +const useApps = () => useContext(AppsContext) + +export default useApps -- cgit v1.2.3