стреляется правильный акк, удаляются все слушатели ЦС компонента

This commit is contained in:
Nastya 2023-12-27 10:45:13 +03:00
parent 39379e8bda
commit ec93f8a052
2 changed files with 3 additions and 1 deletions

@ -53,7 +53,7 @@ export default function App() {
});
useUserAccountFetcher({
url: "https://squiz.pena.digital/customer/account",
url: "https://squiz.pena.digital/squiz/account",
userId,
onNewUserAccount: setUserAccount,
onError: (error) => {

@ -111,6 +111,8 @@ export const usePopper = ({
);
});
cy?.removeAllListeners()
nodesInView.toArray()?.forEach((item) => {
const node = item as NodeSingularWithPopper;