refactor: remove externalSource references from various components for consistency
This commit is contained in:
@@ -268,12 +268,10 @@ export const useKefuChatStore = create<KefuChatStore>((set, get) => {
|
||||
return
|
||||
}
|
||||
|
||||
if (widgetConfig.channelId || widgetConfig.externalSource) {
|
||||
if (widgetConfig.channelId) {
|
||||
setKefuWidgetConfig({
|
||||
...readKefuWidgetConfig(),
|
||||
channelId: widgetConfig.channelId || readKefuWidgetConfig().channelId,
|
||||
externalSource:
|
||||
widgetConfig.externalSource || readKefuWidgetConfig().externalSource,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user