calendar 수정
This commit is contained in:
@@ -215,8 +215,7 @@ export const LinkPaymentHistoryWrap = () => {
|
||||
<SortTypeBox
|
||||
sortType={sortType}
|
||||
onClickToSort={onClickToSort}
|
||||
>
|
||||
</SortTypeBox>
|
||||
></SortTypeBox>
|
||||
<div className="excrow">
|
||||
<div className="full-menu-keywords no-padding">
|
||||
{
|
||||
|
||||
@@ -1,10 +1,19 @@
|
||||
import { PATHS } from '@/shared/constants/paths';
|
||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||
import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
||||
import { useState } from 'react';
|
||||
import { SortTypeKeys } from '@/entities/common/model/types';
|
||||
|
||||
export const SettlementAgencyDepositWrap = () => {
|
||||
const { navigate } = useNavigate();
|
||||
|
||||
const [sortType, setSortType] = useState<SortTypeKeys>(SortTypeKeys.LATEST);
|
||||
|
||||
const onClickToSort = (sort: SortTypeKeys) => {
|
||||
setSortType(sort);
|
||||
};
|
||||
|
||||
const onClickRegister = () => {
|
||||
navigate(PATHS.additionalService.settlementAgency.register);
|
||||
};
|
||||
@@ -46,11 +55,10 @@ export const SettlementAgencyDepositWrap = () => {
|
||||
</div>
|
||||
</div>
|
||||
<div className="filter-section">
|
||||
<div className="sort-options">
|
||||
<button className="sort-btn active">최신순</button>
|
||||
<span className="sort-divider">|</span>
|
||||
<button className="sort-btn">고액순</button>
|
||||
</div>
|
||||
<SortTypeBox
|
||||
sortType={sortType}
|
||||
onClickToSort={onClickToSort}
|
||||
></SortTypeBox>
|
||||
<div>
|
||||
<div className="full-menu-keywords no-padding">
|
||||
<span className="keyword-tag active">전체</span>
|
||||
|
||||
@@ -1,16 +1,24 @@
|
||||
import { PATHS } from '@/shared/constants/paths';
|
||||
import { useNavigate } from '@/shared/lib/hooks/use-navigate';
|
||||
import { IMAGE_ROOT } from '@/shared/constants/common';
|
||||
import { SortTypeBox } from '@/entities/common/ui/sort-type-box';
|
||||
import { useState } from 'react';
|
||||
import { SortTypeKeys } from '@/entities/common/model/types';
|
||||
|
||||
export const SettlementAgencyManageWrap = () => {
|
||||
const { navigate } = useNavigate();
|
||||
|
||||
const [sortType, setSortType] = useState<SortTypeKeys>(SortTypeKeys.LATEST);
|
||||
|
||||
const onClickToRegister = () => {
|
||||
navigate(PATHS.additionalService.settlementAgency.register);
|
||||
};
|
||||
const onClickToDetail = () => {
|
||||
navigate(PATHS.additionalService.settlementAgency.detail);
|
||||
};
|
||||
const onClickToSort = (sort: SortTypeKeys) => {
|
||||
setSortType(sort);
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
@@ -95,11 +103,10 @@ export const SettlementAgencyManageWrap = () => {
|
||||
</div>
|
||||
</section>
|
||||
<section className="filter-section">
|
||||
<div className="sort-options">
|
||||
<button className="sort-btn active">최신순</button>
|
||||
<span className="sort-divider">|</span>
|
||||
<button className="sort-btn">고액순</button>
|
||||
</div>
|
||||
<SortTypeBox
|
||||
sortType={ sortType }
|
||||
onClickToSort={ onClickToSort }
|
||||
></SortTypeBox>
|
||||
<div className="excrow">
|
||||
<div className="notice-tabs sub">
|
||||
<button className="tab36 on">전체</button>
|
||||
|
||||
Reference in New Issue
Block a user