Skip to content

Commit a0b4bcd

Browse files
authored
docs: fix up typo (#7472)
1 parent fd5bb97 commit a0b4bcd

File tree

1 file changed

+1
-1
lines changed
  • packages/docs/src/routes/docs/(qwikcity)/guides/qwik-nutshell

1 file changed

+1
-1
lines changed

packages/docs/src/routes/docs/(qwikcity)/guides/qwik-nutshell/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ const encryptOnServer = server$(function(message: string) {
686686

687687
export default component$(() => {
688688
useTask$(() => {
689-
if () {
689+
if (isServer) {
690690
// This code will only run on the server only when the component is first rendered in the server
691691
}
692692
});

0 commit comments

Comments
 (0)