Skip to content

Commit

Permalink
fix some nit
Browse files Browse the repository at this point in the history
  • Loading branch information
sphinxrave committed Jul 5, 2024
1 parent 83d80a4 commit 9e6647b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 2 additions & 1 deletion packages/react/src/components/video/VideoCardPlaceholder.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useMemo, useState } from "react";
import { useAtomValue } from "jotai";
import { useTranslation } from "react-i18next";
import { Dialog, DialogContent } from "@/shadcn/ui/dialog";
import { Dialog, DialogContent, DialogTitle } from "@/shadcn/ui/dialog";
import { Drawer, DrawerContent } from "@/shadcn/ui/drawer";
import { Button } from "@/shadcn/ui/button";
import { siteIsSmallAtom } from "@/hooks/useFrame";
Expand Down Expand Up @@ -194,6 +194,7 @@ export default function VideoCardPlaceholder({

return (
<Dialog open={open} onOpenChange={setOpen} modal={true}>
<DialogTitle hidden>Holodex Placeholder Event</DialogTitle>
<DialogContent
className="w-[80%] p-0 sm:max-w-[980px]"
onClick={(e) => e.stopPropagation()}
Expand Down
8 changes: 2 additions & 6 deletions packages/react/src/routes/home/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,8 @@ export function Home() {
<Trans
i18nKey="views.home.liveOrUpcomingHeading"
components={{
liveCount: (
<span className="mx-1 rounded-sm bg-secondary-5 p-1 text-sm" />
),
upcomingCount: (
<span className="-mr-1 ml-1 rounded-sm bg-secondary-5 p-1 text-sm" />
),
liveCount: <></>,
upcomingCount: <></>,
}}
/>
</TabsTrigger>
Expand Down

0 comments on commit 9e6647b

Please sign in to comment.