Skip to content

Commit

Permalink
Refator: 1차 QA 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
LeHiHo committed Jan 6, 2024
1 parent 0cb10a9 commit 9223410
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 10 deletions.
18 changes: 9 additions & 9 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<!doctype html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0 maximum-scale=1" />
<title>위플플 | 여정 공유 서비스</title>
</head>

<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0 maximum-scale=1" />
<title>위플플 | 여정 공유 플랫폼</title>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

</html>
28 changes: 28 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/components/DetailSectionTop/DetailSectionTop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {

export default function DetailSectionTop() {
const params = useParams();

const tourItemId = Number(params.id);

const detailQuery = useQuery({
Expand Down
2 changes: 1 addition & 1 deletion src/router/routerLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useLocation } from 'react-router-dom';

const MainLayout = () => {
const location = useLocation();
const hideNavPaths = ['/signup', '/signin'];
const hideNavPaths = ['/signup', '/signin', '/search'];
const showNav = !hideNavPaths.some((path) =>
location.pathname.includes(path),
);
Expand Down

0 comments on commit 9223410

Please sign in to comment.