diff --git a/src/pages/customer/review/history/components/ReviewCard.tsx b/src/pages/customer/review/history/components/ReviewCard.tsx index b8e56b46..61d2f243 100644 --- a/src/pages/customer/review/history/components/ReviewCard.tsx +++ b/src/pages/customer/review/history/components/ReviewCard.tsx @@ -1,7 +1,6 @@ import styled from "styled-components"; import { Text } from "../../../../../components/texts/Text"; import { colors } from "../../../../../style/color"; -import { Divider } from "../../../../../components"; import Rating from "../../../../../components/rating/Rating"; import theme from "../../../../../style/theme"; import { formatDashDate } from "../../../../../utils/dataformat"; diff --git a/src/pages/customer/status/components/DogProfile/index.styles.ts b/src/pages/customer/status/components/DogProfile/index.styles.ts index ce05e955..c50ffaaf 100644 --- a/src/pages/customer/status/components/DogProfile/index.styles.ts +++ b/src/pages/customer/status/components/DogProfile/index.styles.ts @@ -47,5 +47,6 @@ export const DogName = styled.p<{ active: boolean }>` font-weight: ${({ active }) => (active ? "600" : "400")}; color: ${({ active }) => (active ? "#000000" : "#A0A0A0")}; text-align: center; - width: 50px; + /* width: 50px; */ + white-space: pre-wrap; `; diff --git a/src/utils/dataformat.ts b/src/utils/dataformat.ts index fa3e6846..1ab36b9a 100644 --- a/src/utils/dataformat.ts +++ b/src/utils/dataformat.ts @@ -29,6 +29,6 @@ export const formatDate = (isoDate?: string): string => { export const formatDashDate = (isoDate?: string): string => { if (!isoDate) return ""; - const transDat = isoDate.replace(/-/g, "."); - return transDat; + const transDot = isoDate.replace(/-/g, "."); + return transDot; };