Regenerate templates

This commit is contained in:
Lea Anthony 2022-06-27 18:09:25 +10:00
commit f8e6fa4bf3
No known key found for this signature in database
GPG key ID: 33DAF7BB90A58405
2 changed files with 20 additions and 8 deletions

View file

@ -1,5 +1,14 @@
import {render} from 'preact';
import {App} from './app';
import './style.css';
import React from 'react'
import {createRoot} from 'react-dom/client'
import './style.css'
import App from './App'
render(<App/>, document.getElementById('app'));
const container = document.getElementById('root')
const root = createRoot(container)
root.render(
<React.StrictMode>
<App/>
</React.StrictMode>
)

View file

@ -1,11 +1,14 @@
import React from 'react'
import ReactDOM from 'react-dom'
import {createRoot} from 'react-dom/client'
import './style.css'
import App from './App'
ReactDOM.render(
const container = document.getElementById('root')
const root = createRoot(container)
root.render(
<React.StrictMode>
<App/>
</React.StrictMode>,
document.getElementById('root')
</React.StrictMode>
)