Skip to content

Commit

Permalink
Remove nonfunctioning external library
Browse files Browse the repository at this point in the history
  • Loading branch information
epadams committed Apr 14, 2024
1 parent 5ce8ed4 commit 0ad98b2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions FU.SPA/src/components/pages/AccountSettings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { useNavigate } from 'react-router';
import UserContext from '../../context/userContext';
import { useContext } from 'react';
import { Store } from 'react-notifications-component';
import { serializeError } from 'serialize-error';

export default function AccountSettings() {
const { logout, user } = useContext(UserContext);
Expand Down Expand Up @@ -101,9 +100,6 @@ export default function AccountSettings() {
}
} catch (e) {
// Error notification
// var test = JSON.stringify(e, Object.getOwnPropertyNames(e));
const err = serializeError(e);
console.log(err);
Store.addNotification({
title: 'Error has occured',
message: 'An error has occured.\n' + e,
Expand Down

0 comments on commit 0ad98b2

Please sign in to comment.