Skip to content

Commit

Permalink
fix : storybook 배포 에러
Browse files Browse the repository at this point in the history
  • Loading branch information
ujinsim committed Jan 12, 2025
1 parent 1ec5f25 commit 0c2d417
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions src/shared/BackSubtitle/BackSubtitle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import React from 'react';
import { useRouter } from 'next/navigation';

import BackArrow from '../BackArrow';
import { Head3 } from '../Typography/Typography';

type BackSubtitleProps = {
Expand All @@ -14,7 +13,21 @@ export default function BackSubtitle({ title }: BackSubtitleProps) {

return (
<div className="flex cursor-pointer flex-row items-center gap-4" onClick={() => router.back()}>
<BackArrow />
<svg
width="13"
height="21"
viewBox="0 0 13 21"
fill="none"
xmlns="http://www.w3.org/2000/svg"
className="stroke-gray-600"
>
<path
d="M10.9609 1.50024L2.75643 9.70475C2.31709 10.1441 2.31709 10.8564 2.75643 11.2957L10.9609 19.5002"
stroke="#4B5563"
strokeWidth="3"
strokeLinecap="round"
/>
</svg>
<Head3 color="GR">{title}</Head3>
</div>
);
Expand Down

0 comments on commit 0c2d417

Please sign in to comment.