Skip to content

fix: react dev errors #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@libsql/client": "^0.10.0",
"@ogstudio/auth": "workspace:*",
"@ogstudio/db": "workspace:*",
"@radix-ui/themes": "^3.0.3",
"@radix-ui/themes": "^3.1.6",
"@resvg/resvg-wasm": "2.6.2",
"@tanstack/react-query": "^5.35.1",
"@vercel/analytics": "^1.2.2",
Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard/src/components/OgImage.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { MouseEvent, ReactNode } from "react";
// eslint-disable-next-line import/named -- todo
import { Suspense, use, useMemo } from "react";
import Link from "next/link";
import { clsx } from "clsx";
Expand Down Expand Up @@ -114,7 +113,8 @@ export function OgImage({
"rounded-md": preview === "linkedin",
},
)}
href={href ?? ""}
// @ts-expect-error - href is not a valid prop for button
href={href}
onClick={onClick}
style={{ border: "1px solid var(--gray-6)" }}
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { createElementId } from "../../lib/elements";

export function HomeSplashMyImages() {
const { images, createImage, copyImage, deleteImage } = useImagesStore();

const router = useRouter();

return (
Expand Down
Loading