preact-ts template build fix (#1781)

* preact imports

* Copy fix to template template(!). Remove unused Fragment.

* Fix template template!

Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
This commit is contained in:
Debdut Karmakar
2022-08-27 16:42:33 +10:00
committed by GitHub
co-authored by Lea Anthony
parent e67980ee39
commit 6c3418d199
2 changed files with 2 additions and 0 deletions
@@ -2,6 +2,7 @@ import './app.css'
import logo from "./assets/images/logo-universal.png"
import {Greet} from "../wailsjs/go/main/App";
import {useState} from "preact/hooks";
import {h} from 'preact';
export function App(props: any) {
const [resultText, setResultText] = useState("Please enter your name below 👇");
@@ -2,6 +2,7 @@ import './App.css'
import logo from "./assets/images/logo-universal.png"
import {Greet} from "../wailsjs/go/main/App";
import {useState} from "preact/hooks";
import {h} from 'preact';
export function App(props: any) {
const [resultText, setResultText] = useState("Please enter your name below 👇");