add to import/export

This commit is contained in:
Mckay Wrigley
2023-04-18 15:59:19 -06:00
parent cfb0bcdbdd
commit 11f52e76b4
3 changed files with 28 additions and 15 deletions
+1
View File
@@ -99,6 +99,7 @@ export const Chatbar = () => {
};
const handleImportConversations = (data: SupportedExportFormats) => {
console.log(data);
const { history, folders, prompts }: LatestExportFormat = importData(data);
homeDispatch({ field: 'conversations', value: history });
homeDispatch({