daedalOS/pages/index.tsx
2024-02-11 20:42:48 -08:00

24 lines
689 B
TypeScript

import { memo } from "react";
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 memo(Index);