mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 08:26:00 +01:00
lint
This commit is contained in:
parent
358ce6a4f8
commit
069fa3cffa
2 changed files with 2 additions and 5 deletions
|
|
@ -47,10 +47,7 @@ export const StudioDetailsPanel: React.FC<IStudioDetailsPanel> = ({
|
|||
);
|
||||
}
|
||||
|
||||
const sortedURLs = useMemo(
|
||||
() => sortURLs(studio.urls ?? []),
|
||||
[studio.urls]
|
||||
);
|
||||
const sortedURLs = useMemo(() => sortURLs(studio.urls ?? []), [studio.urls]);
|
||||
|
||||
function renderURLs() {
|
||||
if (!sortedURLs.length) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue