Skip to content

Commit 59295b8

Browse files
authored
Merge pull request #34 from MetabobProject/fix-syntax-highlight
feat: replaced hard-coded syntax highlight with dynamic one
2 parents e8ddc23 + 41dde04 commit 59295b8

File tree

3 files changed

+1
-9
lines changed

3 files changed

+1
-9
lines changed

src/components/Analyze/index.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ export const AnalyzePage = ({
3838
return false;
3939
}
4040

41-
console.log('problem.fullFilePath: ', problem.fullFilePath);
42-
console.log('currentWorkSpaceProject: ', currentWorkSpaceProject);
43-
4441
if (problem.fullFilePath === currentWorkSpaceProject) {
4542
return true;
4643
}
@@ -55,9 +52,6 @@ export const AnalyzePage = ({
5552
return false;
5653
}
5754

58-
console.log('currentEditor: ', currentEditor);
59-
console.log('splitString: ', splitString);
60-
6155
if (splitString !== currentEditor && problem.isDiscarded === false) {
6256
return true;
6357
}

src/components/Sugggestion/Recommendation/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ interface RecommendationProps {
77
text: string;
88
}
99
export const Recommendation = ({ text }: RecommendationProps): JSX.Element => {
10-
const markedDownText = `~~~python\n${text}~~~`;
10+
const markedDownText = `~~~${text}~~~`;
1111

1212
return (
1313
<>

src/context/UserContext.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ const AccountSettingProvider = ({ children }: Props): JSX.Element => {
8888
currentFile,
8989
} = payload;
9090

91-
console.log('INIT_DATA: ', payload);
92-
9391
setApplicationState(ApplicationWebviewState.ANALYZE_MODE);
9492

9593
if (hasOpenTextDocuments) {

0 commit comments

Comments
 (0)