Skip to content

Commit 6f98b10

Browse files
committed
Avoid warning about tab size type
1 parent 10c5c4d commit 6f98b10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ class Index extends React.Component {
6060
error: null,
6161
holdOff: localStorage.getItem('holdOff') || 0.2,
6262
fontSize: localStorage.getItem('fontSize') || 12,
63-
tabSize: localStorage.getItem('tabSize') || 4,
63+
tabSize: +localStorage.getItem('tabSize') || 4,
6464
selectedGraphComponents: [],
6565
};
6666
}

0 commit comments

Comments
 (0)