feat: implement settings layout and navigation, add tag and thought pages with API integration
This commit is contained in:
@@ -72,6 +72,7 @@ export function ThoughtCard({
|
||||
toast.success("Thought deleted successfully.");
|
||||
router.refresh();
|
||||
} catch (error) {
|
||||
console.error("Failed to delete thought:", error);
|
||||
toast.error("Failed to delete thought.");
|
||||
} finally {
|
||||
setIsAlertOpen(false);
|
||||
|
Reference in New Issue
Block a user