Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeparticle committed Oct 3, 2023
1 parent a9c57dd commit 5220adc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions ui/src/pages/Converter/CodeFormatter/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const CodeFormatter: React.FC = () => {
try {
const options = {
indent_size: Number(indentationLevel),
indent_with_tabs: true,
};

const selectedBeautifyFunction =
Expand Down
4 changes: 4 additions & 0 deletions ui/src/pages/Converter/CodeFormatter/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ const INDENTATION_LEVEL = [
value: "4",
label: "4 space per indent level",
},
{
value: "1",
label: "Tab delimited",
},
];

const INPUT_TYPE = [
Expand Down

0 comments on commit 5220adc

Please sign in to comment.