Skip to content

Commit

Permalink
fix rx.var warning (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lendemor authored Jan 7, 2025
1 parent fa8f03d commit 4f97ea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chat/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def set_chat(self, chat_name: str):
"""
self.current_chat = chat_name

@rx.var
@rx.var(cache=True)
def chat_titles(self) -> list[str]:
"""Get the list of chat titles.
Expand Down

0 comments on commit 4f97ea1

Please sign in to comment.