aboutsummaryrefslogtreecommitdiff
path: root/src/components/PollsList/RenderItem.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/PollsList/RenderItem.tsx')
-rw-r--r--src/components/PollsList/RenderItem.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/PollsList/RenderItem.tsx b/src/components/PollsList/RenderItem.tsx
index fcac20c..6a99167 100644
--- a/src/components/PollsList/RenderItem.tsx
+++ b/src/components/PollsList/RenderItem.tsx
@@ -1,7 +1,7 @@
import React, { useCallback } from 'react';
import { Poll } from 'which-types';
-import PollCard from '../PollCard/PollCard';
import { CellMeasurer, CellMeasurerCache, List } from 'react-virtualized';
+import PollCard from '../PollCard/PollCard';
interface PropTypes {
@@ -43,7 +43,7 @@ const RenderItem: React.FC<PropTypes> = React.memo(({
rowIndex={index}
parent={parent}
>
- <div key={`${_key}-${poll._id}`} style={{...style, paddingBottom: '20px' }}>
+ <div key={`${_key}-${poll._id}`} style={{ ...style, paddingBottom: '20px' }}>
<PollCard poll={poll} setPoll={setPoll} />
</div>
</CellMeasurer>