Skip to content

Commit

Permalink
fix: render Slices in the correct order in <SliceZone> (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloashmore authored Nov 22, 2021
1 parent 9e4262a commit ffc4d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SliceZone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ export const SliceZone = <TSlice extends SliceLike, TContext>({
}
}

const key = JSON.stringify(slice);
const key = `${index}-${JSON.stringify(slice)}`;

return (
<Comp
Expand Down

0 comments on commit ffc4d4a

Please sign in to comment.