From 2dbcbde50fc2881f4b8e6a3343417fe5cb0336eb Mon Sep 17 00:00:00 2001 From: Kentai Radiquum Date: Tue, 30 Apr 2024 16:01:41 +0500 Subject: [PATCH] refactor(frontend/release-page): less layout shift on player --- frontend/app/release/[id]/page.js | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/frontend/app/release/[id]/page.js b/frontend/app/release/[id]/page.js index 43359bd..64de6ec 100644 --- a/frontend/app/release/[id]/page.js +++ b/frontend/app/release/[id]/page.js @@ -90,7 +90,7 @@ export default function Release(props) { озвучка - {sourcesInfo && плеер} + плеер
- {sourcesInfo && ( -
- {sourcesInfo.sources.map((item) => { +
+ {sourcesInfo && + sourcesInfo.sources.map((item) => { return (
- )} +
-
+
+ ); }