Skip to content

Commit

Permalink
[Qwik] Use the inline component syntax for the minimal template examp…
Browse files Browse the repository at this point in the history
…le (#259)
  • Loading branch information
ianlet authored Oct 4, 2024
1 parent b1f8a3c commit 7ea2a34
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 7ea2a34

Please sign in to comment.