Update client dependencies
This commit is contained in:
parent
20c3855ced
commit
19bcc51eb4
13 changed files with 2973 additions and 1741 deletions
|
@ -3,7 +3,7 @@ import { setCharWidth } from 'state/app';
|
|||
import { stringWidth } from 'util';
|
||||
|
||||
export default function fonts({ store }) {
|
||||
let charWidth = localStorage.charWidth;
|
||||
let { charWidth } = localStorage;
|
||||
if (charWidth) {
|
||||
store.dispatch(setCharWidth(parseFloat(charWidth)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue