Skip to content

Commit

Permalink
fix: Open a new bot after delete a bot will nagivate to the old bot
Browse files Browse the repository at this point in the history
  • Loading branch information
lei9444 committed Jul 22, 2020
1 parent 748b16b commit ec16531
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import { DialogSetting } from '../../recoilModel/types';
import settingStorage from '../../utils/dialogSettingStorage';
import filePersistence from '../persistence/FilePersistence';
import { navigateTo } from '../../utils/navigation';
import { designPageLocationState } from '../atoms/botState';

import {
skillManifestsState,
Expand Down Expand Up @@ -269,6 +270,7 @@ export const projectDispatcher = () => {
reset(settingsState);
reset(localeState);
reset(skillManifestsState);
reset(designPageLocationState);
} catch (e) {
logMessage(callbackHelpers, e.message);
}
Expand Down

0 comments on commit ec16531

Please sign in to comment.