We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac5b4e commit f7ce883Copy full SHA for f7ce883
packages/scan/src/web/widget/index.tsx
@@ -419,14 +419,7 @@ export const Widget = () => {
419
useEffect(() => {
420
if (!refWidget.current) return;
421
422
- if (!signalWidgetCollapsed.value) {
423
- const savedView = readLocalStorage<WidgetStates>(
424
- LOCALSTORAGE_LAST_VIEW_KEY
425
- );
426
- if (savedView && savedView.view !== "none") {
427
- signalWidgetViews.value = savedView;
428
- }
429
+ removeLocalStorage(LOCALSTORAGE_LAST_VIEW_KEY);
430
431
if (!signalWidgetCollapsed.value) {
432
refWidget.current.style.width = "min-content";
0 commit comments