Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Farzin/94405/Deriv P2P tab is not loading for first time login in mobile #8513

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion packages/core/src/App/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@ import { BrowserRouter as Router } from 'react-router-dom';
// eslint-disable-next-line no-unused-vars
import { withTranslation } from 'react-i18next';
import { DesktopWrapper } from '@deriv/components';
import { setUrlLanguage, initFormErrorMessages, setSharedCFDText, useOnLoadTranslation } from '@deriv/shared';
import {
setUrlLanguage,
initFormErrorMessages,
setSharedCFDText,
useOnLoadTranslation,
setWebsocket,
} from '@deriv/shared';
import { initializeTranslations, getLanguage } from '@deriv/translations';
import { CashierStore } from '@deriv/cashier';
import { CFDStore } from '@deriv/cfd';
Expand Down Expand Up @@ -66,6 +72,8 @@ const AppWithoutTranslation = ({ root_store }) => {
WS,
};

setWebsocket(WS);

return (
<>
{is_translation_loaded ? (
Expand Down