Skip to content

Commit

Permalink
🔖 feat: 修改部分场景下ProChatProvider中对StoreUpdater的重复引入 (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
levidcd committed Mar 11, 2024
1 parent 32e6347 commit 0dd9380
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/ProChat/container/Provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,6 @@ export const ProChatProvider = memo<ProChatProviderProps<any>>(
return (
<Provider createStore={() => createStore(props, devtoolOptions)}>
{Content}
<StoreUpdater
chatRef={props.chatRef}
init={!loading}
helloMessage={helloMessage}
chats={chats}
userMeta={userMeta}
request={request}
assistantMeta={assistantMeta}
onChatsChange={onChatsChange}
/>
</Provider>
);
},
Expand Down

0 comments on commit 0dd9380

Please sign in to comment.