Unify portfolio and animal studies galleries
This commit is contained in:
@ -7,7 +7,7 @@ import {
|
||||
DialogTitle,
|
||||
DialogTrigger,
|
||||
} from "@/components/ui/dialog";
|
||||
import * as React from "react";
|
||||
import { useState } from "react";
|
||||
|
||||
type Timelapse = {
|
||||
s3Key: string;
|
||||
@ -25,7 +25,7 @@ export default function ArtworkTimelapseViewer({
|
||||
artworkName?: string | null;
|
||||
trigger: React.ReactNode;
|
||||
}) {
|
||||
const [open, setOpen] = React.useState(false);
|
||||
const [open, setOpen] = useState(false);
|
||||
|
||||
// IMPORTANT:
|
||||
// This assumes your existing `/api/image/[...key]` can stream arbitrary S3 keys.
|
||||
|
||||
Reference in New Issue
Block a user