securityos/pages/index.tsx

24 lines
676 B
TypeScript

import AppsLoader from "components/system/Apps/AppsLoader";
import Desktop from "components/system/Desktop";
import Taskbar from "components/system/Taskbar";
import useGlobalErrorHandler from "hooks/useGlobalErrorHandler";
import useGlobalKeyboardShortcuts from "hooks/useGlobalKeyboardShortcuts";
import useIFrameFocuser from "hooks/useIFrameFocuser";
import useUrlLoader from "hooks/useUrlLoader";
const Index = (): React.ReactElement => {
useIFrameFocuser();
useUrlLoader();
useGlobalKeyboardShortcuts();
useGlobalErrorHandler();
return (
<Desktop>
<Taskbar />
<AppsLoader />
</Desktop>
);
};
export default Index;