Skip to content

Commit

Permalink
Cleaned up code
Browse files Browse the repository at this point in the history
  • Loading branch information
spietras committed Apr 5, 2024
1 parent 7c3848c commit 5a594cb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 1 addition & 3 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg?v=1" />
<link rel="shortcut icon" href="/favicon.svg?v=1" />
<meta
name="viewport"
content="minimum-scale=1, initial-scale=1, width=device-width, user-scalable=no"
/>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
Expand Down
2 changes: 1 addition & 1 deletion src/src/pages/Root/Root.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Outlet } from "react-router-dom";
import { PageLayout } from "../../components/PageLayout";
import { PageLayout } from "../../components";
import { RootProps } from "./Root.types";

export function Root({}: RootProps) {
Expand Down
10 changes: 7 additions & 3 deletions src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,24 @@
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"allowImportingTsExtensions": true,
"allowJs": true,
"composite": true,
"esModuleInterop": true,
"incremental": true,
"isolatedModules": true,
"jsx": "react-jsx",
"lib": ["DOM", "DOM.Iterable", "ESNext"],
"noEmit": true,
"noUnusedLocals": true,
"module": "esnext",
"moduleResolution": "bundler",
"noEmit": true,
"noUnusedLocals": true,
"preserveWatchOutput": true,
"removeComments": true,
"resolveJsonModule": true,
"skipLibCheck": true,
"strict": true,
"target": "esnext"
},
"include": ["src/"]
"include": ["src/"],
"exclude": ["node_modules"]
}

0 comments on commit 5a594cb

Please sign in to comment.