chore(deps): update dependency typescript to ^5.7.2 (#1523)
* chore(deps): update dependency typescript to ^5.7.2 * chore(deps): update dependency typescript to ^5.7.2 * fix: typecheck issue * fix: typecheck issue --------- Co-authored-by: homarr-renovate[bot] <158783068+homarr-renovate[bot]@users.noreply.github.com> Co-authored-by: Meier Lukas <meierschlumpf@gmail.com>
This commit is contained in:
committed by
GitHub
parent
5a3d9745d9
commit
982ab4393e
@@ -72,6 +72,6 @@
|
||||
"@homarr/tsconfig": "workspace:^0.1.0",
|
||||
"@types/video.js": "^7.3.58",
|
||||
"eslint": "^9.15.0",
|
||||
"typescript": "^5.6.3"
|
||||
"typescript": "^5.7.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,7 +112,7 @@ export const WidgetSortedItemListInput = <TItem, TOptionValue extends UniqueIden
|
||||
>
|
||||
<SortableContext items={values} strategy={verticalListSortingStrategy}>
|
||||
<Stack gap="xs">
|
||||
<>
|
||||
<React.Fragment>
|
||||
{values.map((value, index) => {
|
||||
const item = getItem(value);
|
||||
const removeItem = () => {
|
||||
@@ -148,8 +148,8 @@ export const WidgetSortedItemListInput = <TItem, TOptionValue extends UniqueIden
|
||||
<Loader />
|
||||
</Center>
|
||||
)}
|
||||
{error && <Center h={256}>{JSON.stringify(error)}</Center>}
|
||||
</>
|
||||
{error ? <Center h={256}>{JSON.stringify(error)}</Center> : null}
|
||||
</React.Fragment>
|
||||
</Stack>
|
||||
</SortableContext>
|
||||
</DndContext>
|
||||
|
||||
Reference in New Issue
Block a user