Skip to content

Commit c68b918

Browse files
authored
Update import for getComputedLanguage (#126)
Signed-off-by: achour94 <[email protected]>
1 parent 05daba1 commit c68b918

File tree

3 files changed

+2
-22
lines changed

3 files changed

+2
-22
lines changed

src/components/App/app.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
CardErrorBoundary,
1414
fetchConfigParameter,
1515
fetchConfigParameters,
16+
getComputedLanguage,
1617
NotificationsUrlKeys,
1718
useNotificationsListener,
1819
useSnackMessage,
@@ -21,7 +22,6 @@ import { selectComputedLanguage, selectLanguage, selectTheme } from '../../redux
2122
import { AppState } from '../../redux/reducer';
2223
import { ConfigParameters } from '../../services';
2324
import { APP_NAME, COMMON_APP_NAME, PARAM_LANGUAGE, PARAM_THEME } from '../../utils/config-params';
24-
import { getComputedLanguage } from '../../utils/language';
2525
import AppTopBar from './app-top-bar';
2626
import { useDebugRender } from '../../utils/hooks';
2727
import { AppDispatch } from '../../redux/store';

src/redux/local-storage.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
66
*/
77

8-
import { DARK_THEME, GsLang, GsTheme, LANG_SYSTEM } from '@gridsuite/commons-ui';
9-
import { getComputedLanguage } from '../utils/language';
8+
import { DARK_THEME, getComputedLanguage, GsLang, GsTheme, LANG_SYSTEM } from '@gridsuite/commons-ui';
109
import { APP_NAME } from '../utils/config-params';
1110

1211
const LOCAL_STORAGE_THEME_KEY = (APP_NAME + '_THEME').toUpperCase();

src/utils/language.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)