added tests. bs tests, but tests

This commit is contained in:
Chris Kruining 2024-12-19 16:21:59 +01:00
parent c33e99b105
commit 1b18198022
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
7 changed files with 168 additions and 13 deletions

View file

@ -40,7 +40,7 @@ export function Grid(props: { class?: string, rows: Entry[], locales: string[],
id: lang,
label: lang,
renderer: ({ row, column, value, mutate }) => {
const entry = rows().value()[row]!;
const entry = rows().value[row]!;
return <TextArea row={row} key={entry.key} lang={String(column)} value={value} oninput={e => mutate(e.data ?? '')} />;
},