diff --git a/packages/huma-web-shared/src/hooks/useAuthErrorHandling/index.ts b/packages/huma-web-shared/src/hooks/useAuthErrorHandling/index.ts index 29c617dd..18d513a7 100644 --- a/packages/huma-web-shared/src/hooks/useAuthErrorHandling/index.ts +++ b/packages/huma-web-shared/src/hooks/useAuthErrorHandling/index.ts @@ -41,7 +41,7 @@ export const useAuthErrorHandling = ( ].includes(error.response?.data?.detail?.type) const isWalletNotCreatedError = error === 'WalletNotCreatedException' - const isWalletNotSignInError = error === 'WalletNotSignInException' + const isWalletNotSignInError = error === 'WalletNotSignedInException' return { isUnauthorizedError, diff --git a/packages/huma-widget/src/components/Lend/solanaSupply/6-PointsEarned.tsx b/packages/huma-widget/src/components/Lend/solanaSupply/6-PointsEarned.tsx index 50a42726..ca2e7fc7 100644 --- a/packages/huma-widget/src/components/Lend/solanaSupply/6-PointsEarned.tsx +++ b/packages/huma-widget/src/components/Lend/solanaSupply/6-PointsEarned.tsx @@ -92,7 +92,7 @@ export function PointsEarned({ ) setWalletOwnership(ownership) if (!ownership) { - setAuthError('WalletNotSignInException') + setAuthError('WalletNotSignedInException') } } }