Skip to content

Commit

Permalink
storeId null일 시 newStore 보내지 않도록 처리
Browse files Browse the repository at this point in the history
  • Loading branch information
YOOJS1205 committed Jan 29, 2024
1 parent fd6deb6 commit 0cb129e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/review/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default function Page() {
// TODO: storeId 유무에 따른 분기 처리
postLog({
storeId,
newStore: storeId ? null : newStore,
newStore: storeId ? newStore : null,
rating,
visitedAt,
imageUrl: presignedUrl?.presignedUrl as string,
Expand Down
2 changes: 1 addition & 1 deletion src/app/settings/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ interface TermsLayoutProps {
export default function layout({ children }: TermsLayoutProps) {
return (
<div>
<Header>
<Header className="z-header">
<p className="body-16-bold">설정</p>
</Header>
{children}
Expand Down
1 change: 1 addition & 0 deletions src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export function middleware(request: NextRequest) {
return response;
}

// 웹
const url = request.nextUrl.clone();

if (isFirstLogin === 'true') {
Expand Down

0 comments on commit 0cb129e

Please sign in to comment.