Specify dependency for useSelect in useIntroductionBanner.

Co-authored-by: Eason <eason.su.tw@gmail.com>
This commit is contained in:
Gan Eng Chin 2023-03-19 20:12:09 +08:00 committed by GitHub
parent 7cc8e065f9
commit 49253425b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -36,5 +36,5 @@ export const useIntroductionBanner = (): UseIntroductionBanner => {
getOption( OPTION_NAME ) === OPTION_VALUE || isUpdateRequesting,
dismissIntroductionBanner,
};
} );
}, [] );
};