Specify dependency for useSelect in useIntroductionBanner.
Co-authored-by: Eason <eason.su.tw@gmail.com>
This commit is contained in:
parent
7cc8e065f9
commit
49253425b2
|
@ -36,5 +36,5 @@ export const useIntroductionBanner = (): UseIntroductionBanner => {
|
|||
getOption( OPTION_NAME ) === OPTION_VALUE || isUpdateRequesting,
|
||||
dismissIntroductionBanner,
|
||||
};
|
||||
} );
|
||||
}, [] );
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue