Skip to content

Commit

Permalink
Fix: api url revise
Browse files Browse the repository at this point in the history
  • Loading branch information
rmdnps10 committed Jan 27, 2024
1 parent 9e3a856 commit d718801
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Seller/SellerChat/ChatBottomSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function ChatBottomSection() {
// 상담이 종료 요청했는지 여부
const [isEnd, setIsEnd] = useState(false);
const [text, setText] = useState('');

return (
<ChatBottomWrapper>
<TopBarSection>
Expand Down
5 changes: 3 additions & 2 deletions src/components/Seller/SellerConsult/SellerConsultSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,16 @@ export const SellerConsultSection = () => {
const fetchData = useCallback(async () => {
const params = {
filter: !isInclueCompleteConsult,
isCustomer: false,
sortType: sortType === 0 ? 'latest' : 'unread',
};

let res: any;
try {
res = isLetterActive
? await getConselorLetters({ params })
: await getChatsMinder({ params });
: await getChatsMinder({
params,
});
if (res.status === 200) {
const data: ConsultInfoList = res.data;
setConsultInfo(data);
Expand Down

0 comments on commit d718801

Please sign in to comment.