Skip to content

Commit 4f97ea1

Browse files
authored
fix rx.var warning (#52)
1 parent fa8f03d commit 4f97ea1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chat/state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def set_chat(self, chat_name: str):
5959
"""
6060
self.current_chat = chat_name
6161

62-
@rx.var
62+
@rx.var(cache=True)
6363
def chat_titles(self) -> list[str]:
6464
"""Get the list of chat titles.
6565

0 commit comments

Comments
 (0)