Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 87ce5cd

Browse files
committedNov 7, 2024·
Remove unnecessary prop spreading and eslint disable
1 parent efd48be commit 87ce5cd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
 

‎src/renderer/components/Main.tsx

+5-2
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,12 @@ export default function Main() {
300300

301301
{/* Dialogs */}
302302
<ImportProgressDialog
303-
// eslint-disable-next-line react/jsx-props-no-spreading
304-
{...importState}
303+
estimatedTimeRemainingString={
304+
importState.estimatedTimeRemainingString
305+
}
305306
open={dialogState.showImportingProgress}
307+
songsImported={importState.songsImported}
308+
totalSongs={importState.totalSongs}
306309
/>
307310
<DedupingProgressDialog open={dialogState.showDedupingProgress} />
308311
<BackupConfirmationDialog

0 commit comments

Comments
 (0)
Please sign in to comment.