File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -97,9 +97,10 @@ const CartItemsContainer = styled.div`
97
97
flex-grow: 1;
98
98
` ;
99
99
100
- const CartBody : React . FC < CartBodyProps & { refreshKey : number } > = ( {
100
+ const CartBody : React . FC < CartBodyProps & { refreshKey : number , setRefreshKey : ( refreshKey : number ) => void ; } > = ( {
101
101
systemId,
102
102
refreshKey,
103
+ setRefreshKey,
103
104
} ) => {
104
105
const basket = usePaymentsBasketList ( {
105
106
integrated_system : systemId ,
@@ -214,7 +215,7 @@ const Cart: React.FC<CartProps> = ({ system }) => {
214
215
</ Typography >
215
216
</ CartHeader >
216
217
{ selectedSystem && (
217
- < CartBody systemId = { selectedSystem . id } refreshKey = { refreshKey } />
218
+ < CartBody systemId = { selectedSystem . id } refreshKey = { refreshKey } setRefreshKey = { setRefreshKey } />
218
219
) }
219
220
</ CartContainer >
220
221
)
You can’t perform that action at this time.
0 commit comments