Skip to content

Commit

Permalink
fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
heavycrystal committed Feb 13, 2024
1 parent d6a3e61 commit 8d811f5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 7 additions & 3 deletions ui/app/alert-config/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ const NewAlertConfig = () => {
const [serviceType, setServiceType] = useState<string>();
const [authToken, setAuthToken] = useState<string>();
const [channelIdString, setChannelIdString] = useState<string>();
const [slotLagMBAlertThreshold, setSlotLagMBAlertThreshold] = useState<number>();
const [openConnectionsAlertThreshold, setOpenConnectionsAlertThreshold] = useState<number>();
const [slotLagMBAlertThreshold, setSlotLagMBAlertThreshold] =
useState<number>();
const [openConnectionsAlertThreshold, setOpenConnectionsAlertThreshold] =
useState<number>();
const [loading, setLoading] = useState(false);
const handleAdd = async () => {
if (serviceType !== 'slack') {
Expand Down Expand Up @@ -130,7 +132,9 @@ const NewAlertConfig = () => {
type={'number'}
placeholder='optional'
value={openConnectionsAlertThreshold}
onChange={(e) => setOpenConnectionsAlertThreshold(e.target.valueAsNumber)}
onChange={(e) =>
setOpenConnectionsAlertThreshold(e.target.valueAsNumber)
}
/>
</div>

Expand Down
10 changes: 5 additions & 5 deletions ui/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"incremental": true,
"plugins": [
{
"name": "next"
}
"name": "next",
},
],
"paths": {
"@/*": ["./*"]
}
"@/*": ["./*"],
},
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
}

0 comments on commit 8d811f5

Please sign in to comment.