(self)
| 82 | |
| 83 | @rx.event |
| 84 | async def on_load_link_default(self): |
| 85 | linked_state = await self._link_to(self.room or "default") # pyright: ignore[reportAttributeAccessIssue] |
| 86 | initial_note = self.router.page.params.get("initial_note", "") |
| 87 | if initial_note: |
| 88 | linked_state.note = initial_note |
| 89 | |
| 90 | class PrivateState(rx.State): |
| 91 | fetched_note: str = "" |