front #5

Merged
shadowik merged 8 commits from front into main 2024-11-02 16:40:20 +04:00
Showing only changes of commit 52eef8cfbf - Show all commits

View File

@ -4,7 +4,7 @@ import PlusIcon from '@public/images/svg/plus.svg';
import React, { useState } from 'react';
import { WindmillConfig } from '../windmill-form';
import { WindmillRableRow } from './parts/windmill-table-row';
import { WindmillTableRow } from './parts/windmill-table-row';
import styles from './styles.module.scss';
import { WindmillTableProps } from './types';
@ -39,7 +39,7 @@ export function WindmillTable({ value, onChange }: WindmillTableProps) {
<Span className={styles.span}>angle</Span>
</header>
{localValue.map((v, i) => (
<WindmillRableRow
<WindmillTableRow
key={i}
value={v}
onChange={(windmill) => handleRowChange(i, windmill)}