세금계산서 리스트 및 상세
This commit is contained in:
@@ -26,10 +26,10 @@ export const EscrowInfoWrap = ({
|
||||
|
||||
const [isOpen, setIsOpen] = useState<boolean>(false);
|
||||
|
||||
const opeSection = () => {
|
||||
const staus = !isOpen;
|
||||
setIsOpen(staus);
|
||||
if(!!staus){
|
||||
const openSection = () => {
|
||||
const status = !isOpen;
|
||||
setIsOpen(status);
|
||||
if(!!status){
|
||||
setOpenChild(type);
|
||||
}
|
||||
else {
|
||||
@@ -47,7 +47,7 @@ export const EscrowInfoWrap = ({
|
||||
<>
|
||||
<div className="section">
|
||||
<div className="section-title"
|
||||
onClick={ () => opeSection() }
|
||||
onClick={ () => openSection() }
|
||||
>
|
||||
{ title } <SectionTitleArrow isOpen={ isOpen }></SectionTitleArrow>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user