Skip to content

Commit 9fd1783

Browse files
committed
fix: overflow 디자인 수정
1 parent ca370e2 commit 9fd1783

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

apps/tuk-web/src/app/gathering/[gatheringId]/invites/src/components/ReceiveInviteListContent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const ReceiveInviteListContent = () => {
4343
<>
4444
{proposals.map(proposal => (
4545
<div className="flex flex-col items-center gap-12" key={proposal.proposalId}>
46-
<Link href={`/gathering/${gatheringId}/invites/${proposal.proposalId}`}>
46+
<Link href={`/proposal/${proposal.proposalId}/detail`}>
4747
<div className="relative flex justify-center">
4848
<InviteCardFrame proposal={proposal} />
4949

apps/tuk-web/src/app/proposal/[proposalId]/detail/components/GatheringProposal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const GatheringProposal = () => {
3434
if (!data) return null;
3535

3636
return (
37-
<div className="relative h-screen w-full overflow-y-auto overflow-x-hidden">
37+
<div className="relative h-screen w-full overflow-hidden">
3838
<div className="absolute left-[-259px] top-[244px] z-0 h-[406px] w-[898px] bg-gradient-to-b from-[#FFA098] via-[#FFAC85] to-[#FFFEFE] blur-[100px]" />
3939

4040
{/* <Header className="bg-transparent">

apps/tuk-web/src/shared/lib/api/rest/index.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,28 +6,28 @@ import { getBridgeSender } from '@/shared/lib/app-bridge/bridgeSender';
66
export { RestAPI } from './rest';
77
export type { RestAPIConfig, RestAPIProtocol } from './types';
88

9-
const defaultJsonInstance = (baseURL: string) =>
10-
new RestAPIInstance(baseURL, {
11-
withCredentials: false,
12-
authHeader: () => {
13-
if (typeof window === 'undefined') return null;
14-
const token = sessionStorage.getItem('accessToken');
15-
return token ? { Authorization: `Bearer ${token}` } : null;
16-
},
17-
bridgeSend: msg => getBridgeSender()?.(msg),
18-
});
19-
209
// const defaultJsonInstance = (baseURL: string) =>
2110
// new RestAPIInstance(baseURL, {
2211
// withCredentials: false,
2312
// authHeader: () => {
2413
// if (typeof window === 'undefined') return null;
25-
// const token =
26-
// 'eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzMiIsIm1lbWJlcklkIjoiMzIiLCJ0b2tlblR5cGUiOiJBQ0NFU1MiLCJpYXQiOjE3NTUwMDM4NTQsImV4cCI6MTc1NzU5NTg1NH0.sXHpNsim8-nIUdCjnAcOIZGsg2gUo8rnpkBmN-z5dKU';
27-
// return token ? { Authorization: `Bearer ${token.trim()}` } : null;
14+
// const token = sessionStorage.getItem('accessToken');
15+
// return token ? { Authorization: `Bearer ${token}` } : null;
2816
// },
17+
// bridgeSend: msg => getBridgeSender()?.(msg),
2918
// });
3019

20+
const defaultJsonInstance = (baseURL: string) =>
21+
new RestAPIInstance(baseURL, {
22+
withCredentials: false,
23+
authHeader: () => {
24+
if (typeof window === 'undefined') return null;
25+
const token =
26+
'eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIzMiIsIm1lbWJlcklkIjoiMzIiLCJ0b2tlblR5cGUiOiJBQ0NFU1MiLCJpYXQiOjE3NTUwMDM4NTQsImV4cCI6MTc1NzU5NTg1NH0.sXHpNsim8-nIUdCjnAcOIZGsg2gUo8rnpkBmN-z5dKU';
27+
return token ? { Authorization: `Bearer ${token.trim()}` } : null;
28+
},
29+
});
30+
3131
const formInstance = (baseURL: string) =>
3232
new RestAPIInstance(baseURL, {
3333
withCredentials: false,

0 commit comments

Comments
 (0)