Skip to content

Commit

Permalink
Merge pull request #565 from developerjhp/Fix/querystring-564
Browse files Browse the repository at this point in the history
[Fix] 쿼리스트링 잘못된 부분 수정 close #564
  • Loading branch information
developerjhp authored Mar 18, 2022
2 parents a03263a + 14d69dd commit 7675900
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/src/components/CommentPreview/CommentPreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function CommentPreview({ commentData }: GreetingProps) {
return (
<>
<CommentPreviewContainer
onClick={() => navigate(`/detail?=postId=${postId}`)}
onClick={() => navigate(`/detail?postId=${postId}`)}
>
<CommentWrap>
{isMobile ? (
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Menubar/Menubar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export default function Menubar({ menubarHandler }: GreetingProps) {
return (
!el.isDel &&
(isLoggedIn ? (
<Link to={`/board?=boardId=${el.id}`} key={idx}>
<Link to={`/board?boardId=${el.id}`} key={idx}>
<div onClick={menubarHandler}>
<img src="images/folder.png" />{' '}
{stringLimit(el.name, 10)}
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Notificationbar/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function Notification({ notificationDetail }: GreetingProps) {
{
onSuccess: () => {
queryClient.invalidateQueries(['notification_key']);
window.location.href = `/detail?=postId=${postId}`;
window.location.href = `/detail?postId=${postId}`;
},
onError: (err) => {
console.log(err);
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Postpreview/Postpreview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function PostPreview({ postData }: GreetingProps) {

return (
<>
<Link to={`/detail?=postId=${id}`}>
<Link to={`/detail?postId=${id}`}>
<PreviewContainer state={isNotice}>
{isNotice ? <NoticeMark>공지</NoticeMark> : <div>{viewId}</div>}
<div>
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/Main/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function Main() {
!el.isDel &&
(isLoggedIn ? (
<MainIcon key={el.id}>
<Link to={`/board?=boardId=${el.id}`}>
<Link to={`/board?boardId=${el.id}`}>
<img src="images/folder.png" />
<div>{stringLimit(el.name, 7)}</div>
</Link>
Expand Down

0 comments on commit 7675900

Please sign in to comment.