add edit notice and clean code

This commit is contained in:
Patryk
2025-06-11 20:56:39 +02:00
parent b323f02654
commit 3c042d2cfb
7 changed files with 118 additions and 67 deletions

View File

@@ -162,7 +162,6 @@ export default function UserNotices() {
<Button
className="ml-2"
onPress={() => {
console.log("Edytuj notice");
router.replace(
`dashboard/notice/edit/${item.noticeId}`
);