Skip to content

Commit

Permalink
馃悰 fix: fix dalle error
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed May 12, 2024
1 parent 2a252f9 commit 7c493de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tools/dalle/Render/Item/Error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Error = memo<ErrorProps>(({ messageId, index }) => {
const { t: ct } = useTranslation('common');

const error = useChatStore(
(s) => chatSelectors.getMessageById(messageId)(s)?.pluginState['error']?.[index],
(s) => chatSelectors.getMessageById(messageId)(s)?.pluginState?.['error']?.[index],
);
const [reInvokeToolMessage] = useChatStore((s) => [s.reInvokeToolMessage]);

Expand Down

0 comments on commit 7c493de

Please sign in to comment.