Skip to content

Commit cec0735

Browse files
committed
hotfix
1 parent f0c575b commit cec0735

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/app/data.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,5 @@ export const exportConversations = () => {
1919

2020
export const importConversations = (conversations: Conversation[]) => {
2121
localStorage.setItem("conversationHistory", JSON.stringify(conversations));
22+
localStorage.setItem("selectedConversation", JSON.stringify(conversations[conversations.length - 1]));
2223
};

0 commit comments

Comments
 (0)