Update client dependencies
This commit is contained in:
parent
20c3855ced
commit
19bcc51eb4
13 changed files with 2973 additions and 1741 deletions
|
@ -3,9 +3,10 @@ import debounce from 'lodash/debounce';
|
|||
import { getSelectedTab } from 'state/tab';
|
||||
import { observe } from 'util/observe';
|
||||
|
||||
const saveTab = debounce(tab =>
|
||||
Cookie.set('tab', tab.toString(), { expires: 30 })
|
||||
, 1000);
|
||||
const saveTab = debounce(
|
||||
tab => Cookie.set('tab', tab.toString(), { expires: 30 }),
|
||||
1000
|
||||
);
|
||||
|
||||
export default function storage({ store }) {
|
||||
observe(store, getSelectedTab, tab => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue