File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
components/dashboard/src/workspaces Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ import { useCurrentUser } from "../user-context";
31
31
import { SelectAccountModal } from "../user-settings/SelectAccountModal" ;
32
32
import { WorkspaceEntry } from "./WorkspaceEntry" ;
33
33
import { useAuthProviders } from "../data/auth-providers/auth-provider-query" ;
34
+ import { VerifyModal } from "../start/VerifyModal" ;
34
35
35
36
export const useNewCreateWorkspacePage = ( ) => {
36
37
const { startWithOptions } = useFeatureFlags ( ) ;
@@ -360,6 +361,8 @@ const ErrorMessage: FunctionComponent<StatusMessageProps> = ({
360
361
return renderError ( `The organization '${ error . data } ' is not valid.` ) ;
361
362
case ErrorCodes . PAYMENT_SPENDING_LIMIT_REACHED :
362
363
return < UsageLimitReachedModal onClose = { reset } hints = { error ?. data } /> ;
364
+ case ErrorCodes . NEEDS_VERIFICATION :
365
+ return < VerifyModal /> ;
363
366
default :
364
367
return renderError ( error . message || JSON . stringify ( error ) ) ;
365
368
}
You can’t perform that action at this time.
0 commit comments