Skip to content

Commit

Permalink
chore : 텍스트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
hyuna committed Jul 14, 2024
1 parent 9e4f64b commit 5f139a5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/main/checkPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const CheckPage = ({ type }: checkPageType) => {
{type === "outGoing" ? (
<div className=" rounded-xl w-full h-62 bg-white flex flex-col items-center gap-3 py-6">
<div className=" text-neutral-50 text-sub-title4-M text-center px-3">
현재 외출 중인 학생은 총
현재 외출/조기귀가 중인 학생은 총
<span className=" text-primary-500">{list.out}</span>입니다.
</div>
<Image src={outGoingImg} alt="" />
Expand Down
5 changes: 4 additions & 1 deletion src/hook/errorHandling.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ type HandleType = {
};

const apiError = () => {
const router = useRouter();
const handle400: ErrorHandler = () => {
alert("400 잘못된 요청입니다");
};

const handle401: ErrorHandler = () => {};
const handle401: ErrorHandler = () => {
router.push("login");
};

const handle403: ErrorHandler = () => {
alert("403 권한이 없습니다");
Expand Down

0 comments on commit 5f139a5

Please sign in to comment.