diff --git a/src/deck-components/Dialog.tsx b/src/deck-components/Dialog.tsx index 87d4edb7..dd88e5c8 100644 --- a/src/deck-components/Dialog.tsx +++ b/src/deck-components/Dialog.tsx @@ -51,13 +51,6 @@ export const DialogButtonSecondary = Object.values(CommonUIModule).find( mod?.render?.toString()?.includes('Secondary') ) as FC; -export const DialogButtonSmall = Object.values(CommonUIModule).find( - (mod: any) => - mod?.render?.toString()?.includes('Object.assign({type:"button"') && - mod?.render?.toString()?.includes('DialogButton') && - mod?.render?.toString()?.includes('Small') -) as FC; - // This is the "main" button. The Primary can act as a submit button, // therefore secondary is chosen (also for backwards comp. reasons) export const DialogButton = DialogButtonSecondary;