Skip to content

Commit adc990c

Browse files
committed
fix(staking): fix broken go-back common button
1 parent bb6fb84 commit adc990c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/staking/src/features/Drawer/StakePoolDetailsDrawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export const StakePoolDetailsDrawer = ({
8282

8383
const createArrowIconCallback = () => {
8484
if (activeDrawerStep && typeof showBackIcon === 'function' ? showBackIcon(activeDrawerStep) : showBackIcon) {
85-
return popupView ? closeDrawer : onGoBack;
85+
return popupView ? closeDrawer() : onGoBack();
8686
}
8787
// eslint-disable-next-line consistent-return, unicorn/no-useless-undefined
8888
return undefined;

0 commit comments

Comments
 (0)