Skip to content

Commit cfb8dd4

Browse files
committed
ci: Format code
1 parent bff8197 commit cfb8dd4

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/lib/errors.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { isSeamHttpApiError } from "@seamapi/http/connect"
1+
import { isSeamHttpApiError } from '@seamapi/http/connect'
22

33
export function getErrorMessage(error?: Error | null | undefined): string {
44
if (isSeamHttpApiError(error)) {
@@ -10,4 +10,4 @@ export function getErrorMessage(error?: Error | null | undefined): string {
1010

1111
const t = {
1212
anUnknownErrorOccurred: 'An unknown error occurred',
13-
}
13+
}

src/lib/ui/thermostat/ClimatePreset.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ function CreateForm({ device, onComplete }: CreateFormProps): JSX.Element {
271271
const { mutate, isError, error, isPending } =
272272
useCreateThermostatClimatePreset()
273273

274-
const errorMessage = getErrorMessage(error);
274+
const errorMessage = getErrorMessage(error)
275275

276276
const onSubmit = useCallback(
277277
(values: PresetFormProps['defaultValues']) => {
@@ -366,7 +366,7 @@ function UpdateForm({
366366
[device, mutate, onComplete]
367367
)
368368

369-
const errorMessage = getErrorMessage(error);
369+
const errorMessage = getErrorMessage(error)
370370

371371
return (
372372
<>

src/lib/ui/thermostat/ClimatePresets.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export function ClimatePresets(props: ClimatePresetsManagement): JSX.Element {
4646
const { mutate, isError, error, isPending } =
4747
useDeleteThermostatClimatePreset()
4848

49-
const errorMessage = getErrorMessage(error);
49+
const errorMessage = getErrorMessage(error)
5050

5151
if (
5252
selectedClimatePreset != null ||

0 commit comments

Comments
 (0)