Update: Refactor comments section to prop drill edit and delete handlers

This commit is contained in:
Aaron William Po
2023-05-06 00:09:02 -04:00
parent 2f8d7d6abb
commit 79e6ab8ba7
12 changed files with 241 additions and 70 deletions

View File

@@ -36,7 +36,14 @@ const CommentCardDropdown: FC<CommentCardDropdownProps> = ({
Edit
</button>
) : (
<button>Report</button>
<button
type="button"
onClick={() => {
alert('This feature is not yet implemented.');
}}
>
Report
</button>
)}
</li>
</ul>