mirror of
https://github.com/stashapp/stash.git
synced 2026-02-10 09:24:09 +01:00
Fix code style in StudioScrapeDialog
This commit is contained in:
parent
f29bf16f5f
commit
ece44b772b
1 changed files with 2 additions and 8 deletions
|
|
@ -71,17 +71,11 @@ export const StudioScrapeDialog: React.FC<IStudioScrapeDialogProps> = ({
|
|||
);
|
||||
|
||||
const [aliases, setAliases] = useState<ScrapeResult<string>>(
|
||||
new ScrapeResult<string>(
|
||||
studio.aliases?.join(", "),
|
||||
scraped.aliases
|
||||
)
|
||||
new ScrapeResult<string>(studio.aliases?.join(", "), scraped.aliases)
|
||||
);
|
||||
|
||||
const [remoteSiteID, setRemoteSiteID] = useState<ScrapeResult<string>>(
|
||||
new ScrapeResult<string>(
|
||||
getCurrentRemoteSiteID(),
|
||||
scraped.remote_site_id
|
||||
)
|
||||
new ScrapeResult<string>(getCurrentRemoteSiteID(), scraped.remote_site_id)
|
||||
);
|
||||
|
||||
const { tags, newTags, scrapedTagsRow, linkDialog } = useScrapedTags(
|
||||
|
|
|
|||
Loading…
Reference in a new issue