Skip to content

Commit

Permalink
Update components/modal/shared.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: 红 <wxh1220@gmail.com>
Signed-off-by: 红果汁 <pingfj77@gmail.com>
  • Loading branch information
RedJue and Wxh16144 committed Aug 23, 2023
1 parent 329d492 commit c39e959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/modal/shared.tsx
Expand Up @@ -90,7 +90,7 @@ export const Footer: React.FC<
<NormalOkBtnContextProvider value={confirmBtnCtxValueMemo}>
<NormalCancelBtnContextProvider value={cancelBtnCtxValueMemo}>
{typeof footer === 'function'
? footer?.(footerOriginNode, {
? footer(footerOriginNode, {
ConfirmBtn: NormalOkBtn,
CancelBtn: NormalCancelBtn,
})
Expand Down

0 comments on commit c39e959

Please sign in to comment.