Skip to content

Commit

Permalink
623-saved-button-aria
Browse files Browse the repository at this point in the history
  • Loading branch information
Amberroseweeks committed Jul 9, 2024
1 parent 5cf0388 commit 4778653
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/SinglePropertyDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ const SinglePropertyDetail = ({
<ThemeButton
color="tertiary"
label={isPropertySavedToLocalStorage ? "Saved" : "Save"}
aria-current={undefined}
aria-pressed={isPropertySavedToLocalStorage ? "true" : undefined}
startContent={
isPropertySavedToLocalStorage ? <Check /> : <BookmarkSimple />
}
Expand Down

0 comments on commit 4778653

Please sign in to comment.