Skip to content

Commit fedfcd4

Browse files
authored
Update 04-datastar.md (#1214)
1 parent 52ed55d commit fedfcd4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/docs/05-server-side-rendering/04-datastar.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ func setupExamplesTemplCounter(examplesRouter chi.Router, sessionSignals session
185185
})
186186

187187
return nil
188-
}```
188+
}
189+
```
189190

190191
The `atomic.Uint32` type stores the global state. The `userVal` function is a helper that retrieves the user's session state. The `updateGlobal` function increments the global state.
191192

0 commit comments

Comments
 (0)