fix: Add provider to editSource type in Gallery.tsx
This commit is contained in:
parent
e69c6ba64d
commit
2173eb1446
2 changed files with 3 additions and 3 deletions
|
|
@ -32,7 +32,7 @@ export function Gallery() {
|
||||||
const [videoModalOpen, setVideoModalOpen] = React.useState(false);
|
const [videoModalOpen, setVideoModalOpen] = React.useState(false);
|
||||||
const [videoSource, setVideoSource] = React.useState<{ data: string, prompt: string, provider?: string } | null>(null);
|
const [videoSource, setVideoSource] = React.useState<{ data: string, prompt: string, provider?: string } | null>(null);
|
||||||
const [editModalOpen, setEditModalOpen] = React.useState(false);
|
const [editModalOpen, setEditModalOpen] = React.useState(false);
|
||||||
const [editSource, setEditSource] = React.useState<{ data: string, prompt: string } | null>(null);
|
const [editSource, setEditSource] = React.useState<{ data: string, prompt: string, provider?: 'whisk' | 'meta' } | null>(null);
|
||||||
const [editPromptValue, setEditPromptValue] = React.useState('');
|
const [editPromptValue, setEditPromptValue] = React.useState('');
|
||||||
const [videoPromptValue, setVideoPromptValue] = React.useState('');
|
const [videoPromptValue, setVideoPromptValue] = React.useState('');
|
||||||
const [useSourceImage, setUseSourceImage] = React.useState(true);
|
const [useSourceImage, setUseSourceImage] = React.useState(true);
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"last_updated": "2026-01-07T11:49:35.035Z",
|
"last_updated": "2026-01-07T12:22:54.434Z",
|
||||||
"lastSync": 1767786575035,
|
"lastSync": 1767788574434,
|
||||||
"categories": {
|
"categories": {
|
||||||
"style": [
|
"style": [
|
||||||
"Illustration",
|
"Illustration",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue