File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change
1
+ import prettier from '@prettier/sync' ;
1
2
import { useAtomValue , useSetAtom } from 'jotai' ;
2
3
import babelParser from 'prettier/plugins/babel' ;
3
- import prettier from '@prettier/sync' ;
4
4
import * as React from 'react' ;
5
5
import { useState } from 'react' ;
6
6
import { activeFileAtom , saveFileAtom } from '../../atoms/editor' ;
Original file line number Diff line number Diff line change
1
+ import prettier from '@prettier/sync' ;
1
2
import classNames from 'classnames' ;
2
3
import { useAtomValue , useSetAtom } from 'jotai' ;
3
4
import babelParser from 'prettier/plugins/babel' ;
4
5
import markdownParser from 'prettier/plugins/markdown' ;
5
- import prettier from '@prettier/sync' ;
6
6
import * as React from 'react' ;
7
7
import problemsSchema from '../../../content/problems.schema.json' ;
8
8
import {
Original file line number Diff line number Diff line change 1
- import babelParser from 'prettier/plugins/babel' ;
2
1
import prettier from '@prettier/sync' ;
2
+ import babelParser from 'prettier/plugins/babel' ;
3
3
4
4
export const formatProblems = ( content : string ) : string =>
5
5
prettier . format ( content , {
You can’t perform that action at this time.
0 commit comments