Skip to content

Commit

Permalink
[Qwik] Use the inline component syntax for the minimal template example
Browse files Browse the repository at this point in the history
  • Loading branch information
ianlet authored Oct 1, 2024
1 parent 0441bc9 commit 80f7cba
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions content/2-templating/1-minimal-template/qwik/HelloWorld.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { component$ } from "@builder.io/qwik";

export const HelloWorld = component$(() => {
export const HelloWorld = () => {
return <div>Hello World</div>;
});
};

0 comments on commit 80f7cba

Please sign in to comment.