mirror of
https://github.com/stashapp/stash.git
synced 2025-12-28 11:13:33 +01:00
Fix cover image in scene edit tab (#1123)
This commit is contained in:
parent
758eccc659
commit
647ae2d7f9
1 changed files with 3 additions and 1 deletions
|
|
@ -83,7 +83,9 @@ export const SceneEditPanel: React.FC<IProps> = ({
|
|||
|
||||
const [scrapedScene, setScrapedScene] = useState<GQL.ScrapedScene | null>();
|
||||
|
||||
const [coverImagePreview, setCoverImagePreview] = useState<string>();
|
||||
const [coverImagePreview, setCoverImagePreview] = useState<
|
||||
string | undefined
|
||||
>(scene.paths.screenshot ?? undefined);
|
||||
|
||||
const stashConfig = useConfiguration();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue