Skip to content

Commit d1b7a3f

Browse files
committed
Update app metadata and fix import/resolve issues
Updated index.html with a new title and description for Stardew Valley Progress Tracker. Fixed import path in Viewer.tsx by removing file extension. Added extensions array to Vite config to improve module resolution.
1 parent a1ae502 commit d1b7a3f

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="theme-color" content="#000000" />
88
<meta
99
name="description"
10-
content="Web site created using create-react-app"
10+
content="a web app to track your progress in Stardew Valley"
1111
/>
1212
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
1313
<!--
@@ -24,7 +24,7 @@
2424
work correctly both with client-side routing and a non-root public URL.
2525
Learn how to configure a non-root public URL by running `npm run build`.
2626
-->
27-
<title>React App</title>
27+
<title>Stardew Valley Progress Tracker</title>
2828
</head>
2929
<body>
3030
<noscript>You need to enable JavaScript to run this app.</noscript>

src/Components/Viewer/Viewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useRef, useEffect } from 'react';
22
import Junimo6 from '@media/Junimo6.png';
3-
import useLoadSaveFile from '@hooks/useLoadSaveFile.tsx';
3+
import useLoadSaveFile from '@hooks/useLoadSaveFile';
44

55
interface ViewerProps {
66
UpdatePlayerData: (playerData: any) => void;

vite.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ export default defineConfig(({ mode }) => ({
1414
'@utility': path.resolve(__dirname, 'src/Utility'),
1515
'@hooks': path.resolve(__dirname, 'src/Hooks'),
1616
},
17+
extensions: ['.mjs', '.js', '.mts', '.ts', '.jsx', '.tsx', '.json']
1718
},
1819
build: {
1920
outDir: 'build',

0 commit comments

Comments
 (0)