feat: validate and persist openInAppId updates from settings
This commit is contained in:
@@ -73,8 +73,6 @@ const persistToLocalStorage = (settings: DesktopSettings) => {
|
||||
}
|
||||
if (typeof settings.openInAppId === 'string' && settings.openInAppId.length > 0) {
|
||||
localStorage.setItem('openInAppId', settings.openInAppId);
|
||||
} else {
|
||||
localStorage.removeItem('openInAppId');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user