diff --git a/pages/balanceHistory/[accountName].tsx b/pages/balanceHistory/[accountName].tsx index 3950878ac6f13155bd7001a62d187df4fd995ca2..d8b86759f02995b2867c310756c306564aaa230d 100644 --- a/pages/balanceHistory/[accountName].tsx +++ b/pages/balanceHistory/[accountName].tsx @@ -178,7 +178,7 @@ export default function BalanceHistory() { ? router.query.accountName[0] // If it's an array, get the first element : router.query.accountName; // Otherwise, treat it as a string directly - if(routeAccountName && !routeAccountName.startsWith("@") || !accountNameFromRoute) + if(routeAccountName && !routeAccountName.startsWith("@")) { return <ErrorPage />; }