diff --git a/packages/renderless/src/modal/index.ts b/packages/renderless/src/modal/index.ts index 02542c84c9..a0318d87ae 100644 --- a/packages/renderless/src/modal/index.ts +++ b/packages/renderless/src/modal/index.ts @@ -390,7 +390,7 @@ export const handleGlobalKeydownEvent = } export const handleHashChange = (api: IModalApi) => (): void => { - api.close('close') + api.close('hide') } export const getBox =