mirror of
https://github.com/wavetermdev/wails.git
synced 2026-08-05 13:53:43 -07:00
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:
co-authored by
Lea Anthony
parent
e67980ee39
commit
6c3418d199
+1
@@ -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 👇");
|
||||
|
||||
+1
@@ -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 👇");
|
||||
|
||||
Reference in New Issue
Block a user