1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 12:56:41 +07:00

fixed for nextjs, but it won't work

This commit is contained in:
Fedor Katurov 2020-11-06 18:36:28 +07:00
parent 33e9e01f29
commit 4b79b06106
39 changed files with 64 additions and 63 deletions

View file

@ -1,4 +1,4 @@
import React, { FC } from 'react';
import React, { FC, Fragment } from 'react';
import { Cell } from '~/components/flow/Cell';
import { IFlowState } from '~/redux/flow/reducer';
@ -14,7 +14,7 @@ type IProps = Partial<IFlowState> & {
};
export const FlowGrid: FC<IProps> = ({ user, nodes, onSelect, onChangeCellView }) => (
<>
<Fragment>
{nodes.map(node => (
<Cell
key={node.id}
@ -24,5 +24,5 @@ export const FlowGrid: FC<IProps> = ({ user, nodes, onSelect, onChangeCellView }
onChangeCellView={onChangeCellView}
/>
))}
</>
</Fragment>
);