24 lines
689 B
TypeScript
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);
|