Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
신원세/프론트엔드개발팀 committed Aug 1, 2023
2 parents b88811c + b01495b commit 0fea342
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

.alcohol-category-filter {
display: flex;
width: fit-content;
min-width: 100%;
padding: 12px 31px;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@
}
}
}

.record-card {
margin-top: 12px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const MyRecordSearchResult = ({ keyword }: MyRecordSearchResultProps) => {
</div>
<ul>
{records.map((record, j) => (
<li key={`${record.recordId}-${j}`}>
<li className={cx('record-card')} key={`${record.recordId}-${j}`}>
<Link href={`/records/${record.recordId}`}>
<AlcoholPreview
name={record.alcoholName}
Expand Down
2 changes: 1 addition & 1 deletion src/shared/apis/records/searchMyRecords.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const useSearchMyRecords = createInfiniteQuery<Response, Variables>({
queryFn: ({ queryKey: [, { keyword }], pageParam }) => {
return searchMyRecords({
keyword,
cursor: pageParam || 1,
cursor: pageParam || null,
limit: SEARCH_MY_RECORDS_LIMIT,
});
},
Expand Down

0 comments on commit 0fea342

Please sign in to comment.