Skip to content

Commit

Permalink
update request
Browse files Browse the repository at this point in the history
  • Loading branch information
djnunez-aot committed Feb 18, 2025
1 parent b7f8383 commit dd16867
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const AddRequestNoteSection = ({
});

const { userType } = useAccount();

Check failure on line 36 in submit-web/src/components/Submission/UpdateRequestWidget/AddRequestNoteSection.tsx

View workflow job for this annotation

GitHub Actions / linting (18.x)

'userType' is assigned a value but never used
const isProponent = userType === USER_TYPE.PROPONENT;
const isProponent = true;

return (
<Box mt="1em">
Expand Down Expand Up @@ -86,11 +86,14 @@ export const AddRequestNoteSection = ({
<When condition={isProponent && !updateRequest.note && !isAddingNote}>
<Button
color="primary"
variant="outlined"
variant="text"
onClick={() => setIsAddingNote(true)}
sx={{ mt: 2 }}
sx={{
mt: 2,
border: `1px solid ${BCDesignTokens.typographyColorPrimary}`,
}}
>
Add Note
Add Note for EAO
</Button>
</When>
</Box>
Expand Down

0 comments on commit dd16867

Please sign in to comment.