don't save fontUrl to localStorage

main
Mike Fix 6 years ago committed by Michael Fix
parent 3826344a7b
commit 4aef628b00

@ -26,7 +26,14 @@ class Index extends React.Component {
updateRouteState(this.props.router, state) updateRouteState(this.props.router, state)
saveSettings( saveSettings(
localStorage, localStorage,
omit(state, ['code', 'backgroundImage', 'backgroundImageSelection', 'themes', 'highlights']) omit(state, [
'code',
'backgroundImage',
'backgroundImageSelection',
'themes',
'highlights',
'fontUrl'
])
) )
}, },
750, 750,

Loading…
Cancel
Save