Skip to content

Commit

Permalink
fix: Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Najeong-Kim committed Aug 22, 2024
1 parent 5eab50c commit d48aec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/discovery-detail/ui/discovery-detail-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const DiscoveryDetailPage = ({ params }: { params: { resortId: string } }) => {
(discovery) => discovery.id === +params?.resortId
) as Discovery;
const { data: voteData } = useQuery(discoveryApi.discoveryQueries.vote(params?.resortId));
const data = RESORT_DOMAIN[discovery.map as keyof typeof RESORT_DOMAIN];
const data = RESORT_DOMAIN[discovery?.map as keyof typeof RESORT_DOMAIN];
const [selectedTab, setSelectedTab] = useState('webcam');
const [showAppDownloadDialog, setShowAppDownloadDialog] = useState(true);
const { mutateAsync } = usePostVote(params?.resortId);
Expand Down

0 comments on commit d48aec0

Please sign in to comment.