Skip to content

Commit

Permalink
fix: remove console
Browse files Browse the repository at this point in the history
  • Loading branch information
nada-deriv committed Oct 21, 2024
1 parent f754433 commit 9cd1e9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/p2p/src/pages/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ const App = () => {
const search_params = new URLSearchParams(split_url.split('?')[1]);
const order_id = search_params.get('order');
window.location.href = `${target_url}/redirect/p2p?action=${action_param}&order_id=${order_id}&code=${code_param}&lang=${lang}`;
} else {
window.location.href = target_url;
}
}
}
Expand Down Expand Up @@ -297,8 +299,6 @@ const App = () => {

React.useEffect(() => {
if (action_param && code_param) {
/* eslint-disable no-console */
console.log('action_param', action_param, 'code_param', code_param);
// We need an extra state since we delete the code from the query params.
// Do not remove.
order_store.setVerificationCode(code_param);
Expand Down

0 comments on commit 9cd1e9b

Please sign in to comment.