Skip to content

Commit

Permalink
✨ [#45] Add error component now that it's refactored in admin UI
Browse files Browse the repository at this point in the history
  • Loading branch information
SilviaAmAm committed May 31, 2024
1 parent 9ab3715 commit 20040c3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions frontend/src/pages/destructionlist/Assignees.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import {
AttributeTable,
Body,
Button, // Errors,
Button,
Errors,
Form,
FormField,
ObjectData,
Expand Down Expand Up @@ -50,7 +51,7 @@ export function AssigneesForm({

return (
<Body className="destruction-list-detail destruction-list-detail__reviewers-form">
{/*<Errors errors={Object.values(errors)} />*/}
<Errors errors={Object.values(errors)} />
<Form
fields={formFields}
initialValues={{
Expand Down

0 comments on commit 20040c3

Please sign in to comment.