fix ui build issues
This commit is contained in:
parent
c56b90714f
commit
fd3878d590
@ -31,7 +31,9 @@ export const EditDoorConfigSchema = DoorConfigSchema.extend({
|
|||||||
});
|
});
|
||||||
|
|
||||||
export const getEditDoorConfigID = (doorName: string): string[] => {
|
export const getEditDoorConfigID = (doorName: string): string[] => {
|
||||||
return getDoorConfigID(doorName).with(1, EDIT_DOOR_CONFIG_SK);
|
const id = getDoorConfigID(doorName);
|
||||||
|
id[1] = EDIT_DOOR_CONFIG_SK;
|
||||||
|
return id;
|
||||||
}
|
}
|
||||||
|
|
||||||
export type DoorConfig = z.infer<typeof DoorConfigSchema>;
|
export type DoorConfig = z.infer<typeof DoorConfigSchema>;
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
"lib": ["dom", "dom.iterable", "esnext"],
|
"lib": ["dom", "dom.iterable", "esnext"],
|
||||||
"types": ["vite/client", "vite-plugin-svgr/client"],
|
"types": ["vite/client", "vite-plugin-svgr/client"],
|
||||||
"allowJs": false,
|
"allowJs": false,
|
||||||
"skipLibCheck": false,
|
"skipLibCheck": true,
|
||||||
"esModuleInterop": false,
|
"esModuleInterop": false,
|
||||||
"allowSyntheticDefaultImports": true,
|
"allowSyntheticDefaultImports": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user