Skip to content

Commit

Permalink
Chore: Remove unused catch arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
marcustyphoon committed Aug 6, 2024
1 parent bbc5ef5 commit f1d5b59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export default function SavedResultManager({ isOpen, setOpen }) {
);
setImportText('');
}
} catch (e) {
} catch {
console.warn('Error while importing build!');
// TODO add snackbar
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function getAll() {
let stored = [];
try {
stored = JSON.parse(localStorage.getItem(KEY) || '[]');
} catch (e) {
} catch {
console.warn('There was a problem loading the saved characters from your disk!');
}
return stored;
Expand Down

0 comments on commit f1d5b59

Please sign in to comment.