website refactor
This commit is contained in:
@@ -14,7 +14,7 @@ export default async function DashboardPage() {
|
||||
} else if (error === 'redirect') {
|
||||
redirect('/');
|
||||
} else {
|
||||
// DASHBOARD_FETCH_FAILED or UNKNOWN_ERROR
|
||||
// serverError, networkError, unknown, validationError, unauthorized
|
||||
console.error('Dashboard error:', error);
|
||||
notFound();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user