Skip to content

Commit

Permalink
Merge pull request #83 from negarn/dev
Browse files Browse the repository at this point in the history
force to en
  • Loading branch information
negarn authored May 21, 2019
2 parents 47e53f0 + 4ec1891 commit 0dd1d3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/javascript/app/App/Containers/Wip/wip.jsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React from 'react';
import { localize } from '_common/localize';
import { websiteUrl } from '_common/url';
import { urlFor } from '_common/url';
import Localize from 'App/Components/Elements/localize.jsx';
import Button from 'App/Components/Form/button.jsx';
import { IconWip } from 'Assets/Common/icon-wip.jsx';
import { connect } from 'Stores/connect';

const onClick = () => {
window.location.href = websiteUrl();
window.location.href = window.open(urlFor('trading', undefined, undefined, true));
};

const Wip = (ui) => (
Expand Down
4 changes: 3 additions & 1 deletion src/root_files/app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,9 @@
if (document.referrer) {
localStorage.setItem('index_referrer', document.referrer);
}
lang = getCookieItem('language');
// TODO: uncomment this when languages are available
// lang = getCookieItem('language');
lang = 'en';
// Parse url for loginids, tokens, and currencies returned by OAuth
var obj_params = {};
var search = window.location.search;
Expand Down

0 comments on commit 0dd1d3a

Please sign in to comment.