From b64a693f167940785723b0cd16bef7c2cdbc58cc Mon Sep 17 00:00:00 2001 From: Mary Hipp Date: Wed, 13 Mar 2024 11:54:40 -0400 Subject: [PATCH] try adding a key to force rerender when items load --- .../components/MainModel/ParamMainModelSelect.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/invokeai/frontend/web/src/features/parameters/components/MainModel/ParamMainModelSelect.tsx b/invokeai/frontend/web/src/features/parameters/components/MainModel/ParamMainModelSelect.tsx index c3989721f6..864d90d592 100644 --- a/invokeai/frontend/web/src/features/parameters/components/MainModel/ParamMainModelSelect.tsx +++ b/invokeai/frontend/web/src/features/parameters/components/MainModel/ParamMainModelSelect.tsx @@ -18,6 +18,7 @@ const ParamMainModelSelect = () => { const dispatch = useAppDispatch(); const { t } = useTranslation(); const selectedModel = useAppSelector(selectModel); + console.log({ selectedModel }); const { data, isLoading } = useGetMainModelsQuery(NON_REFINER_BASE_MODELS); const _onChange = useCallback( @@ -46,7 +47,13 @@ const ParamMainModelSelect = () => { {t('modelManager.model')} - + ); };