feat: disable link to home page when user has 0 category

This commit is contained in:
Sonny
2023-06-04 00:44:30 +02:00
parent 5c2c2de1bd
commit d9757bdc18
7 changed files with 44 additions and 19 deletions

View File

@@ -13,16 +13,8 @@ const PATHS = {
REMOVE: "/link/remove",
},
API: {
CATEGORY: {
CREATE: "/api/category/create",
EDIT: "/api/category/edit",
REMOVE: "/api/category/remove",
},
LINK: {
CREATE: "/api/link/create",
EDIT: "/api/link/edit",
REMOVE: "/api/link/remove",
},
CATEGORY: "/api/category",
LINK: "/api/link",
},
NOT_FOUND: "/404",
SERVER_ERROR: "/505",