Skip to content

Commit

Permalink
Merge pull request #4 from hanowwl/bug/3-wrong-communication-with-app
Browse files Browse the repository at this point in the history
fix: remove unnecessary code
  • Loading branch information
choi138 authored Mar 11, 2024
2 parents 14ef4c1 + 8a7acfa commit 2d49387
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/main/QnASection/styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ export const QnASectionCardContainer = styled(motion.div)<{ isApp: boolean }>`
display: flex;
flex-direction: column;
row-gap: 2rem;
margin-bottom: ${({ isApp }) => isApp && "2rem"};
padding-bottom: ${({ isApp }) => (isApp ? "3rem" : "8rem")};
`;
1 change: 1 addition & 0 deletions src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export default function Document() {
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="default" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0" />
</Head>
<body>
<Main />
Expand Down
7 changes: 1 addition & 6 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@ export default function Home() {
<Main.MainSection />
<Main.HanowlSection records={MAIN_SECTIONS.HANOWL_RECORDS} />
<Main.EventSection events={MAIN_SECTIONS.EVENTS} />
<section
ref={teamsRef}
onTouchMove={() => {
window.ReactNativeWebView.postMessage("touchmove");
}}
>
<section ref={teamsRef}>
<Main.TeamsSection teams={MAIN_SECTIONS.TEAMS_LIST} />
</section>
<Main.QnASection qnaList={MAIN_SECTIONS.QUESTIONS} />
Expand Down

0 comments on commit 2d49387

Please sign in to comment.