Skip to content

Commit 2b7b83a

Browse files
author
Chris DeMartini
committed
fix: map config persist bug fix
1 parent bdbc5e3 commit 2b7b83a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/KeplerGL/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ class KeplerGlComponent extends React.Component {
5454
}
5555
};
5656
const config = keplerConfig ? JSON.parse(keplerConfig) : undefined;
57-
const hasMapStateConfig = Boolean(config && config.mapState);
58-
57+
const hasMapStateConfig = Boolean(config && config.config && config.config.mapState);
58+
5959
this.props.dispatch(
6060
addDataToMap({
6161
datasets,

0 commit comments

Comments
 (0)