Skip to content

Commit

Permalink
refactor: redundant return
Browse files Browse the repository at this point in the history
  • Loading branch information
dvirtz committed Jan 19, 2025
1 parent 011c68e commit 0e5a28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/acum-work-import/ui/work-editor-ui.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function AcumImporter(props: {form: HTMLFormElement}) {
async function importWork(entity: Entity<'Work'>) {
clearWarnings();
try {
return await tryImportWork(entity, props.form, addWarning);
await tryImportWork(entity, props.form, addWarning);
} catch (err) {
console.error(err);
addWarning(`Import failed: ${String(err)}`);
Expand Down

0 comments on commit 0e5a28c

Please sign in to comment.