Skip to content

Commit 16b480d

Browse files
committed
Update DataBrowser.react.js
1 parent 17b1bc0 commit 16b480d

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

src/dashboard/Data/Browser/DataBrowser.react.js

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -255,14 +255,7 @@ export default class DataBrowser extends React.Component {
255255
togglePanelVisibility() {
256256
const newVisibility = !this.state.isPanelVisible;
257257
this.setState({ isPanelVisible: newVisibility });
258-
try {
259-
window.localStorage?.setItem(
260-
AGGREGATION_PANEL_VISIBLE,
261-
newVisibility
262-
);
263-
} catch {
264-
// ignore
265-
}
258+
window.localStorage?.setItem(AGGREGATION_PANEL_VISIBLE, newVisibility);
266259

267260
if (!newVisibility) {
268261
this.props.setAggregationPanelData({});

0 commit comments

Comments
 (0)