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 d5c42a1 commit fece5d2Copy full SHA for fece5d2
src/pages/projects/[projectId]/labeling/index.tsx
@@ -18,6 +18,7 @@ export default function LabelingRoutingPage() {
18
useEffect(() => {
19
dispatch(setCurrentPage(CurrentPage.LABELING));
20
dispatch(setDisplayIconComments(true));
21
+ cleanIdeLocalStorage();
22
}, []);
23
24
@@ -34,4 +35,15 @@ export default function LabelingRoutingPage() {
34
35
return (
36
<LabelingMainComponent />
37
)
38
+}
39
+
40
41
+// to be removed after v1.18 release
42
+function cleanIdeLocalStorage() {
43
+ if (localStorage.getItem("ideCode")) {
44
+ localStorage.removeItem("ideCode");
45
+ }
46
+ if (localStorage.getItem("ideHorizontal")) {
47
+ localStorage.removeItem("ideHorizontal");
48
49
}
0 commit comments