This commit is contained in:
okhsunrog 2025-01-13 07:07:36 +03:00
parent 360686b3a0
commit 34ec1cba73
2 changed files with 2 additions and 5 deletions

View file

@ -33,13 +33,10 @@ export default function App() {
</button>
</form>
{greetMsg() && (
<div class="mt-4 alert alert-success">{greetMsg()}</div>
)}
{greetMsg() && <div class="mt-4 alert alert-success">{greetMsg()}</div>}
</div>
</div>
</div>
</main>
)
}

View file

@ -3,4 +3,4 @@ import { render } from 'solid-js/web'
import './assets/main.css'
import App from './App'
render(() => <App />, document.getElementById("root") as HTMLElement);
render(() => <App />, document.getElementById('root') as HTMLElement)