Skip to content

Commit ea12f97

Browse files
authored
Fix issue 227 (#228)
1 parent 30d852c commit ea12f97

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

uncoder-os/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@
5353
"html-webpack-plugin": "^5.6.3",
5454
"mini-css-extract-plugin": "^2.9.2",
5555
"node-polyfill-webpack-plugin": "^4.0.0",
56-
"postcss": "^8.4.49",
57-
"postcss-inline-base64": "^7.3.1",
58-
"postcss-loader": "^8.1.1",
59-
"sass": "^1.81.0",
60-
"sass-loader": "^16.0.3",
56+
"postcss": "8.4.47",
57+
"postcss-inline-base64": "7.3.1",
58+
"postcss-loader": "8.1.1",
59+
"sass": "1.77.6",
60+
"sass-loader": "16.0.2",
6161
"source-map-loader": "^5.0.0",
6262
"style-loader": "^4.0.0",
6363
"ts-loader": "^9.5.1",

uncoder-os/src/components/IocsStatistic/useIocsStatistic.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { parseInt } from 'lodash';
21
import { BasicIocType } from '../../types/iocsTypes';
32

43
export const useIocsStatistic = () => {
@@ -43,7 +42,7 @@ export const useIocsStatistic = () => {
4342
};
4443

4544
const convertValue = (value?: string | number): string => {
46-
const convertedValue: number = parseInt((value ?? 0).toString());
45+
const convertedValue: number = parseInt((value ?? 0).toString(), 10);
4746

4847
if (convertedValue >= 1000) {
4948
return `${Math.floor(convertedValue / 1000)}k`;

uncoder-os/src/components/TextEditor/InputTextEditor/useInputEditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { useDispatch, useSelector } from 'react-redux';
33
import { Dispatch } from '@reduxjs/toolkit';
44
import { clearText, inputEditorSelector } from '../../../reduxData/inputEditor';
55

6-
import ace from 'ace-builds';
6+
import ace from 'ace-builds/src-noconflict/ace';
77
import 'ace-builds/src-noconflict/ext-language_tools';
88
import { loadSuggesterData, suggesterSelector } from '../../../reduxData/suggester';
99
import { useEditorSuggestion } from '../useEditorSuggestion';

0 commit comments

Comments
 (0)