From e5729bee1e3f0753dc3514757fa15e5533c387fe Mon Sep 17 00:00:00 2001 From: zoomdong <1344492820@qq.com> Date: Tue, 19 Apr 2022 05:35:36 +0800 Subject: [PATCH] chore: remove useless code in preact template (#7789) --- packages/create-vite/template-preact/src/app.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-vite/template-preact/src/app.jsx b/packages/create-vite/template-preact/src/app.jsx index 9d649444f686d9..64fe3eda94c933 100644 --- a/packages/create-vite/template-preact/src/app.jsx +++ b/packages/create-vite/template-preact/src/app.jsx @@ -1,6 +1,6 @@ import { Logo } from './logo' -export function App(props) { +export function App() { return ( <>