diff --git a/@navikt/core/react/src/modal/types.ts b/@navikt/core/react/src/modal/types.ts index 251d62d6e8..d2bb415f22 100644 --- a/@navikt/core/react/src/modal/types.ts +++ b/@navikt/core/react/src/modal/types.ts @@ -36,7 +36,7 @@ export interface ModalProps /** * Called when the user tries to close the modal by one of the built-in methods. * Used if you want to ask the user for confirmation before closing. - * @warning Will not always be called when pressing Esc. Refer to the JSDoc for `onCancel` for more info. + * @warning Will not always be called when pressing Esc. See `onCancel` for more info. * @returns Whether to close the modal */ onBeforeClose?: () => boolean | void;