Skip to content

Commit

Permalink
why is my build not working?
Browse files Browse the repository at this point in the history
  • Loading branch information
k4y4k committed Mar 30, 2024
1 parent 6697d03 commit ee90764
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/app.tsx → src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@

export function App() {
const App = () => {
return (
<>
<h1 className="text-3xl font-bold underline">Hello world!</h1>
</>
);
}

export default App;
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { render } from 'preact'
import { App } from './App.tsx'
import './index.css'
import App from './App'

render(<App />, document.getElementById('app')!)

0 comments on commit ee90764

Please sign in to comment.