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:
homarr-renovate[bot]
2024-11-23 19:39:20 +01:00
committed by GitHub
parent 5a3d9745d9
commit 982ab4393e
38 changed files with 191 additions and 190 deletions

View File

@@ -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>