Skip to content

Commit

Permalink
feature: add link to report form (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnsonMao committed Jul 21, 2024
1 parent 4fe25c9 commit 2ee4506
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion components/Group/detail/More.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@ export default function More() {
open={Boolean(anchorEl)}
onClose={handleClose}
>
<MenuItem sx={{ minWidth: '146px' }} onClick={handleClose}>
<MenuItem
component="a"
href="https://docs.google.com/forms/d/e/1FAIpQLSfgpHNzm9OAk44Jbgamkq7--odZfC3h4vgw96DPLYvZ07wC_g/viewform"
target="_blank"
sx={{ minWidth: '146px' }}
onClick={handleClose}
>
檢舉
</MenuItem>
</Menu>
Expand Down
8 changes: 7 additions & 1 deletion components/Profile/UserCard/Dropdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ export default function Dropdown({ sx }) {
<Icon color="#536166" component={MoreVertRoundedIcon} />
</Button>
<StyledMenu anchorEl={anchorEl} open={open} onClose={handleClose}>
<MenuItem onClick={handleClose} disableRipple>
<MenuItem
component="a"
href="https://docs.google.com/forms/d/e/1FAIpQLSfgpHNzm9OAk44Jbgamkq7--odZfC3h4vgw96DPLYvZ07wC_g/viewform"
target="_blank"
sx={{ minWidth: '146px' }}
onClick={handleClose}
>
檢舉
</MenuItem>
</StyledMenu>
Expand Down

0 comments on commit 2ee4506

Please sign in to comment.