Passing Props in Component
This commit is contained in:
parent
f4fabbb719
commit
da85fb9d1e
|
|
@ -2,7 +2,6 @@ import { useState } from 'react';
|
|||
import { IoMdAdd, IoMdSettings } from 'react-icons/io';
|
||||
import { DefaultModal } from '../../../../Components/Modal/DefaultModal';
|
||||
import TooltipWrapper from '../../../../Components/Tooltip/Tooltip';
|
||||
|
||||
import './AllSalesPageSettings.scss';
|
||||
import TableHeadersetting from './TableHeadersetting';
|
||||
import PaymentOptions from '../../../Payment/PaymentOptions/PaymentOptions';
|
||||
|
|
@ -62,7 +61,7 @@ const AllSalesPageSettings = () => {
|
|||
<div className="SettingsComponentDiv">
|
||||
{selectedComponent == 'Payment' && (
|
||||
<div>
|
||||
<PaymentOptions />
|
||||
<PaymentOptions setModalOpen={setsettingModal}/>
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue