Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Commit

Permalink
[FIX] Revert: LoadConfig after registering guest (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
murtaza98 authored and MartinSchoeler committed Mar 29, 2022
1 parent e905d66 commit be6514e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lib/hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import Triggers from './triggers';
const createOrUpdateGuest = async (guest) => {
const { token } = guest;
token && await store.setState({ token });
token && await loadConfig();
const user = await Livechat.grantVisitor({ visitor: { ...guest } });
store.setState({ user });
};
Expand Down

0 comments on commit be6514e

Please sign in to comment.