We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd5bb97 commit a0b4bcdCopy full SHA for a0b4bcd
packages/docs/src/routes/docs/(qwikcity)/guides/qwik-nutshell/index.mdx
@@ -686,7 +686,7 @@ const encryptOnServer = server$(function(message: string) {
686
687
export default component$(() => {
688
useTask$(() => {
689
- if () {
+ if (isServer) {
690
// This code will only run on the server only when the component is first rendered in the server
691
}
692
});
0 commit comments