Skip to content

Commit 46c6d2b

Browse files
committed
fixing for lint
1 parent 5bbfc4d commit 46c6d2b

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

dash/dash-renderer/src/store.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ export default class RendererStore {
5656
private createAppStore = (reducer: any, middleware: any) => {
5757
this.__store = createStore(reducer, middleware);
5858
this.storeObserver.setStore(this.__store);
59-
const ds = ((window as any).dash_stores = (window as any).dash_stores || []);
59+
const ds = ((window as any).dash_stores =
60+
(window as any).dash_stores || []);
6061
if (!ds.includes(this.__store)) {
6162
ds.push(this.__store);
6263
}

dash/dash-renderer/src/utils/clientsideFunctions.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ import {updateProps, notifyObservers} from '../actions/index';
22
import {getPath} from '../actions/paths';
33

44
const set_props = (id: string | object, props: {[k: string]: any}) => {
5-
const ds = ((window as any).dash_stores = (window as any).dash_stores || []);
5+
const ds = ((window as any).dash_stores =
6+
(window as any).dash_stores || []);
67
for (let y = 0; y < ds.length; y++) {
78
const {dispatch, getState} = ds[y];
89
const {paths} = getState();
@@ -17,5 +18,6 @@ const set_props = (id: string | object, props: {[k: string]: any}) => {
1718
}
1819
};
1920

20-
const dc = ((window as any).dash_clientside = (window as any).dash_clientside || {});
21+
const dc = ((window as any).dash_clientside =
22+
(window as any).dash_clientside || {});
2123
dc['set_props'] = set_props;

0 commit comments

Comments
 (0)