Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
John Tore Simonsen committed Oct 4, 2024
1 parent 80eeffc commit cc8043a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/views/dialogs/ExportDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,11 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {

const onExportClick = async (): Promise<void> => {
const isValidSize =
(!setSizeLimit ||
!setSizeLimit ||
(await sizeLimitRef.current?.validate({
focused: false,
}))) || !SettingsStore.getValue(UIFeature.ExportDefaultSizeLimit);
})) ||
!SettingsStore.getValue(UIFeature.ExportDefaultSizeLimit);
if (!isValidSize) {
sizeLimitRef.current?.validate({ focused: true });
return;
Expand Down

0 comments on commit cc8043a

Please sign in to comment.