Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Commit 8dc4b20

Browse files
authored
Merge pull request #4 from KATT/patch-1
update `sayHello` to be in global scope
2 parents 9aaf1bc + 517d1db commit 8dc4b20

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/astro-basic/src/app/root.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { server$ } from "@tanstack/bling";
22

3+
const sayHello = server$(() => console.log("Hello world"));
4+
35
export function App() {
4-
let sayHello = server$(() => console.log("Hello world"));
56
return (
67
<html>
78
<head>

0 commit comments

Comments
 (0)