Skip to content

Commit b57ec85

Browse files
committedAug 10, 2024
chore: Fixed react test app
1 parent a98e520 commit b57ec85

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed
 

‎apps/react/index.html

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,8 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
65
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>@spuxx/browser-utils</title>
6+
<title>@spuxx/jslibs</title>
87
</head>
98
<body>
109
<div id="root"></div>

‎apps/react/src/App.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1+
import React from 'react';
12
import { intl } from '@spuxx/js-utils';
23

3-
function App() {
4+
export default function App(): React.ReactElement {
45
return (
56
<>
67
<h1>{intl('app.title')}</h1>
78
</>
89
);
910
}
10-
11-
export default App;

‎apps/react/vite.config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/// <reference types="vitest" />
21
import baseConfig from '../../vite.config';
32
import { mergeConfig, defineConfig } from 'vite';
43
import react from '@vitejs/plugin-react';

0 commit comments

Comments
 (0)