Skip to content

Commit

Permalink
fix: Txt 컴포넌트로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
baegyeong committed Mar 10, 2024
1 parent 5628389 commit 789b19e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/components/common/board/Board.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import Modal from "react-modal";
import Image from "next/image";
import CloseImage from "/public/icons/ellipsis.multiply.svg";
import { cn } from "@/src/utils/cn";
import Txt from "../Txt.component";

interface BoardData {
id: string;
Expand Down Expand Up @@ -37,7 +38,7 @@ const Board = ({
return (
<section className="flex flex-col">
{boardData.length === 0 ? (
<div>검색결과가 없습니다.</div>
<Txt>검색결과가 없습니다.</Txt>
) : (
<>
{boardData.map((item, index) => (
Expand Down

0 comments on commit 789b19e

Please sign in to comment.