refactor code to improve readability and maintainability + redesigned announcement bar
This commit is contained in:
@@ -40,6 +40,8 @@ export default function AuthRedirect({ children }: Props) {
|
||||
{ path: "/collections", isProtected: true },
|
||||
{ path: "/links", isProtected: true },
|
||||
{ path: "/tags", isProtected: true },
|
||||
{ path: "/preserved", isProtected: true },
|
||||
{ path: "/admin", isProtected: true },
|
||||
];
|
||||
|
||||
if (isPublicPage) {
|
||||
|
||||
Reference in New Issue
Block a user