docs: fix missing parentheses in about.tsx example file (#3143)
Co-authored-by: Marvin Hagemeister <hello@marvinh.dev>
This commit is contained in:
co-authored by
Marvin Hagemeister
parent
29d1e0a484
commit
1218038918
@@ -58,7 +58,7 @@ export default define.page(() => {
|
|||||||
<p>This is the about page.</p>
|
<p>This is the about page.</p>
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
If we navigate to `/about` in the browser we'll see our newly created page.
|
If we navigate to `/about` in the browser we'll see our newly created page.
|
||||||
@@ -110,7 +110,7 @@ export default define.page(() => {
|
|||||||
<Countdown />
|
<Countdown />
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
Now, we can see our countdown in action:
|
Now, we can see our countdown in action:
|
||||||
|
|||||||
Reference in New Issue
Block a user