Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
supersonicclay committed Apr 17, 2020
1 parent ced7c8a commit f5e2308
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/advanced/src/example.tsx
Expand Up @@ -80,7 +80,7 @@ const initialViewport = {
zoom: 11,
};

const ALL_MODES = [
const ALL_MODES: any = [
{
category: 'View',
modes: [
Expand Down Expand Up @@ -611,8 +611,7 @@ export default class Example extends Component<
{ALL_MODES.map((category) => (
<ToolboxRow key={category.category}>
<ToolboxTitle>{category.category} Modes</ToolboxTitle>
{// @ts-ignore
category.modes.map(({ mode, label }) => (
{category.modes.map(({ mode, label }) => (
<ToolboxButton
key={label}
selected={this.state.mode === mode}
Expand Down

0 comments on commit f5e2308

Please sign in to comment.