Skip to content

Commit 1f205ec

Browse files
authored
Merge pull request #143 from YAPP-Github/feature/PRODUCT-263
2 parents cde7655 + a1d68a5 commit 1f205ec

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

src/app/(store)/stores/register/_components/RegisterFunnel/_components/TagStep/TagStep.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Chip } from "@/components/ui/Chip";
77
import { Spacer } from "@/components/ui/Spacer";
88
import { HStack, VStack } from "@/components/ui/Stack";
99
import { Text } from "@/components/ui/Text";
10-
import { type Tag } from "@/constants/tag.constants";
10+
import { type Tag } from "@/types/tag.types";
1111

1212
import { useTagSelection } from "./_hooks";
1313

src/constants/tag.constants.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
1-
export type Tag = {
2-
iconUrl: string;
3-
name: string;
4-
label: string;
5-
};
1+
import { type Tag } from "@/types/tag.types";
62

7-
export const ATMOSPHERE_TAGS = [
3+
export const ATMOSPHERE_TAGS: Tag[] = [
84
{
95
iconUrl: "/images/tags/OLD_STORE_MOOD.png",
106
name: "OLD_STORE_MOOD",
@@ -47,7 +43,7 @@ export const ATMOSPHERE_TAGS = [
4743
},
4844
];
4945

50-
export const UTILITY_TAGS = [
46+
export const UTILITY_TAGS: Tag[] = [
5147
{
5248
iconUrl: "/images/tags/GROUP_RESERVATION.png",
5349
name: "GROUP_RESERVATION",

src/types/tag.types.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export type Tag = {
2+
iconUrl: string;
3+
name: string;
4+
label: string;
5+
};

0 commit comments

Comments
 (0)