Skip to content

Commit

Permalink
Fix unnecessary list rendering (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
gtluszcz authored Aug 11, 2021
1 parent f93800f commit 69676d3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,7 @@ const SortableList = <TTag extends keyof JSX.IntrinsicElements = typeof DEFAULT_
...rest,
ref: containerRef
},
[
<SortableListContext.Provider value={context}>{children}</SortableListContext.Provider>
]
<SortableListContext.Provider value={context}>{children}</SortableListContext.Provider>
)
}

Expand Down

0 comments on commit 69676d3

Please sign in to comment.