Skip to content

Commit

Permalink
Merge branch 'development' into feat/annoucement
Browse files Browse the repository at this point in the history
  • Loading branch information
HACO8888 authored Mar 15, 2024
2 parents d53895a + a9aee53 commit fa07153
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/post/[postID]/(post)/desktop/Thread.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ const Thread = ({ post }: { post: TThread }) => {
if (post.sig === "652d60b842cdf6a660c2b778") {
return (
<>
<div className="py-[1rem]">
<div className="py-[1rem] max-h-[60dvh]">
<div className={style.threadTitle + " " + style.customTitle}>
<h1 className="my-auto">{post.title}</h1>
</div>
Expand Down
6 changes: 4 additions & 2 deletions app/post/[postID]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
"use client";
import { useEffect, useState } from "react";
import { useRouter } from "next/navigation";

// Layout
import SplitBlock from "@/app/(Layout)/splitBlock";
Expand All @@ -18,6 +17,7 @@ import { TThread } from "@/interfaces/Thread";
// Utils
import useIsMobile from "@/utils/useIsMobile";


import { NotFound } from "@/components/NotFound";

const API_URL = process.env.NEXT_PUBLIC_API_URL;
Expand Down Expand Up @@ -67,7 +67,9 @@ const Post = ({ params }: { params: { postID: string } }) => {
/>
);
} else if (post?.sig === "652d60b842cdf6a660c2b778") {
return <ThreadDesktop post={post!} />;
return (
<ThreadDesktop post={post!} />
);
} else {
return isMobile ? (
<>
Expand Down

0 comments on commit fa07153

Please sign in to comment.