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

Commit

Permalink
Revert "[FIX] LoadConfig after registering guest (#640)"
Browse files Browse the repository at this point in the history
This reverts commit 760fcf5.
  • Loading branch information
murtaza98 committed Mar 29, 2022
1 parent f3b8fbe commit bdcbef4
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 bdcbef4

Please sign in to comment.