mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-17 18:51:14 +01:00
🐛 Fix compilation issues
This commit is contained in:
@@ -210,7 +210,6 @@ export function AddAppShelfItemForm(props: AddAppShelfItemFormProps) {
|
||||
}),
|
||||
});
|
||||
} else {
|
||||
console.log(newForm);
|
||||
setConfig({
|
||||
...config,
|
||||
services: [...config.services, newForm],
|
||||
|
||||
@@ -23,7 +23,13 @@ export default function AppShelfMenu(props: any) {
|
||||
onClose={() => setOpened(false)}
|
||||
title={t('modal.title')}
|
||||
>
|
||||
<AddAppShelfItemForm setOpened={setOpened} {...service} message={t('modal.buttons.save')} />
|
||||
<AddAppShelfItemForm
|
||||
config={config}
|
||||
setConfig={setConfig}
|
||||
setOpened={setOpened}
|
||||
{...service}
|
||||
message={t('modal.buttons.save')}
|
||||
/>
|
||||
</Modal>
|
||||
<Menu
|
||||
withinPortal
|
||||
|
||||
Reference in New Issue
Block a user