Events still not working
This commit is contained in:
cdricms
2025-02-12 16:51:57 +01:00
parent 27c17fc33f
commit 9d6aa4c163
10 changed files with 746 additions and 350 deletions

View File

@@ -16,6 +16,8 @@ export default function ShortcodesPage() {
success,
} = useApi<IShortcode[]>("/shortcodes", undefined, true);
console.log(shortcodes);
const handleUpdate = async (updatedShortcode: IShortcode) => {
const res = await request<IShortcode>(
`/shortcodes/${updatedShortcode.code}/update`,