Skip to content

Commit

Permalink
Merge pull request #13175 from storybookjs/13173-fix-grid-disable
Browse files Browse the repository at this point in the history
Addon-backgrounds: Fix grid disable
  • Loading branch information
shilman authored Nov 19, 2020
2 parents 7cb3f5f + b80ffa4 commit cf9581e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/backgrounds/src/containers/GridSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export const GridSelector: FunctionComponent = memo(() => {
grid: { disable: false },
});

if (grid.disable) {
if (grid?.disable) {
return null;
}

Expand Down

0 comments on commit cf9581e

Please sign in to comment.