utility function localStorage
Sun Jan 18 2026 22:48:58 GMT+0000 (Coordinated Universal Time)
Saved by
@nurud43
export const clearConversationLocalStorage = (conversationId: string) => {
const keys = [
"conversation-selected-tab",
"conversation-right-panel-shown",
"conversation-unpinned-tabs",
];
keys.forEach((prefix) => {
localStorage.removeItem(`${prefix}-${conversationId}`);
});
}
content_copyCOPY
Comments