mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix templates not refreshing correctly
This commit is contained in:
parent
d40d5276dd
commit
bee29714d9
@ -15,8 +15,7 @@ import { buildInputFieldValue } from '../util/fieldValueBuilders';
|
||||
|
||||
const templatesSelector = createSelector(
|
||||
[(state: RootState) => state.nodes],
|
||||
(nodes) => nodes.invocationTemplates,
|
||||
{ memoizeOptions: { resultEqualityCheck: (a, b) => true } }
|
||||
(nodes) => nodes.invocationTemplates
|
||||
);
|
||||
|
||||
export const useBuildInvocation = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user