apps-search: deps should have provider

This commit is contained in:
Hunter Miller 2021-10-21 11:55:44 -05:00 committed by GitHub
parent 4196abf0ce
commit e252c46692
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,7 +26,7 @@ export const Apps = ({ match }: AppsProps) => {
if (Object.keys(allies).length > 0 && !isAllied) { if (Object.keys(allies).length > 0 && !isAllied) {
useDocketState.getState().addAlly(provider); useDocketState.getState().addAlly(provider);
} }
}, [allies, isAllied]); }, [allies, isAllied, provider]);
const results = useMemo(() => { const results = useMemo(() => {
if (!treaties) { if (!treaties) {