mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix; Key issue in Lora List
This commit is contained in:
parent
1affb7f647
commit
5629d8fa37
@ -1,4 +1,4 @@
|
|||||||
import { Divider } from '@chakra-ui/react';
|
import { Divider, Flex } from '@chakra-ui/react';
|
||||||
import { createSelector } from '@reduxjs/toolkit';
|
import { createSelector } from '@reduxjs/toolkit';
|
||||||
import { stateSelector } from 'app/store/store';
|
import { stateSelector } from 'app/store/store';
|
||||||
import { useAppSelector } from 'app/store/storeHooks';
|
import { useAppSelector } from 'app/store/storeHooks';
|
||||||
@ -20,10 +20,10 @@ const ParamLoraList = () => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{lorasArray.map((lora, i) => (
|
{lorasArray.map((lora, i) => (
|
||||||
<>
|
<Flex key={lora.model_name} sx={{ flexDirection: 'column', gap: 2 }}>
|
||||||
{i > 0 && <Divider key={`${lora.model_name}-divider`} pt={1} />}
|
{i > 0 && <Divider pt={1} />}
|
||||||
<ParamLora key={lora.model_name} lora={lora} />
|
<ParamLora lora={lora} />
|
||||||
</>
|
</Flex>
|
||||||
))}
|
))}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user