refactor: change comments position

This commit is contained in:
Kentai Radiquum 2024-08-02 22:04:59 +05:00
parent 98bb7f3dce
commit d6bdbd276c
Signed by: Radiquum
GPG key ID: 858E8EE696525EED

View file

@ -116,14 +116,6 @@ export const ReleasePage = (props: any) => {
</div> </div>
)} )}
<div className="[grid-column:1] [grid-row:span_2]">
<CommentsMain
release_id={props.id}
token={token}
comments={data.release.comments}
/>
</div>
{data.release.related_releases.length > 0 && ( {data.release.related_releases.length > 0 && (
<div className="[grid-column:2] [grid-row:span_4]"> <div className="[grid-column:2] [grid-row:span_4]">
<ReleaseInfoRelated <ReleaseInfoRelated
@ -133,6 +125,14 @@ export const ReleasePage = (props: any) => {
/> />
</div> </div>
)} )}
<div className="[grid-column:1] [grid-row:span_2]">
<CommentsMain
release_id={props.id}
token={token}
comments={data.release.comments}
/>
</div>
</div> </div>
</main> </main>
) : ( ) : (