Skip to content

Commit bb3175c

Browse files
vin0401github-actions[bot]
authored andcommitted
Apply eslint-fixer changes
1 parent f61f618 commit bb3175c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

assets/js/src/examples/custom-widgets/components/example-widget.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,28 +76,28 @@ export const ExampleWidget = (): React.JSX.Element => {
7676
>
7777
<Button
7878
disabled={ areButtonsDisabled }
79-
onClick={ () => { widgetManager.openMainWidget(selectedWidget!) } }
79+
onClick={ () => { widgetManager.openMainWidget(selectedWidget) } }
8080
>
8181
Open main widget
8282
</Button>
8383

8484
<Button
8585
disabled={ areButtonsDisabled }
86-
onClick={ () => { widgetManager.openLeftWidget(selectedWidget!) } }
86+
onClick={ () => { widgetManager.openLeftWidget(selectedWidget) } }
8787
>
8888
Open left widget
8989
</Button>
9090

9191
<Button
9292
disabled={ areButtonsDisabled }
93-
onClick={ () => { widgetManager.openRightWidget(selectedWidget!) } }
93+
onClick={ () => { widgetManager.openRightWidget(selectedWidget) } }
9494
>
9595
Open right widget
9696
</Button>
9797

9898
<Button
9999
disabled={ areButtonsDisabled }
100-
onClick={ () => { widgetManager.openBottomWidget(selectedWidget!) } }
100+
onClick={ () => { widgetManager.openBottomWidget(selectedWidget) } }
101101
>
102102
Open bottom widget
103103
</Button>

0 commit comments

Comments
 (0)