diff --git a/src/stores/ftbot.ts b/src/stores/ftbot.ts index cc002308..21bfbbc8 100644 --- a/src/stores/ftbot.ts +++ b/src/stores/ftbot.ts @@ -1166,5 +1166,9 @@ export function createBotSubStore(botId: string, botName: string) { }, }); + if (import.meta.hot) { + import.meta.hot.accept(acceptHMRUpdate(useBotStore, import.meta.hot)); + } + return useBotStore(); }