From 7ea2a348e45545768bf79b23b59c6b50d40bf84f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ian=20L=C3=A9tourneau?= Date: Fri, 4 Oct 2024 10:57:17 -0400 Subject: [PATCH] [Qwik] Use the inline component syntax for the minimal template example (#259) --- content/2-templating/1-minimal-template/qwik/HelloWorld.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/content/2-templating/1-minimal-template/qwik/HelloWorld.tsx b/content/2-templating/1-minimal-template/qwik/HelloWorld.tsx index d043b050..8d12eab7 100644 --- a/content/2-templating/1-minimal-template/qwik/HelloWorld.tsx +++ b/content/2-templating/1-minimal-template/qwik/HelloWorld.tsx @@ -1,5 +1,3 @@ -import { component$ } from "@builder.io/qwik"; - -export const HelloWorld = component$(() => { +export const HelloWorld = () => { return
Hello World
; -}); +};