Skip to content

Commit

Permalink
remove undefined size from ApiErrorModal (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertrytovuori authored Jul 3, 2024
1 parent d504085 commit 241850b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,7 @@ class App extends Component<Props, State> {
return <div className={appStyle}>
<ReduxToastr newestOnTop={true} position="bottom-right" preventDuplicates={true} progressBar={false} timeOut={2000} transitionIn="fadeIn" transitionOut="fadeOut" closeOnToastrClick={true} />

{/** @ts-ignore: Property 'MEDIUM' does not exist on type */}
<ApiErrorModal size={Sizes.MEDIUM} data={apiError} isOpen={Boolean(apiError)} handleDismiss={this.handleDismissErrorModal} />
<ApiErrorModal data={apiError} isOpen={Boolean(apiError)} handleDismiss={this.handleDismissErrorModal} />

<LoginPage buttonDisabled={Boolean(isApiTokenFetching)} onLoginClick={this.handleLogin} />
<Loader isLoading={Boolean(isApiTokenFetching)} />
Expand Down

0 comments on commit 241850b

Please sign in to comment.