Skip to content

Commit

Permalink
fix: profile post (#1954)
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
RiXelanya authored and agustinustheo committed Sep 2, 2024
1 parent 0ea361d commit aef26e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/components/PostList/ProfilePostList.container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { EmptyContentEnum } from '../Search/EmptyResult.interfaces';
import { Loading } from '../atoms/Loading';
import { useStyles } from './PostList.styles';
import { useProfileFilter } from './hooks/use-profile-filter.hook';
import { useTimelineFilter } from './hooks/use-timeline-filter.hook';

import { PostDetailContainer } from 'components/PostDetail/PostDetail.container';
import ShowIf from 'components/common/show-if.component';
Expand Down
2 changes: 1 addition & 1 deletion src/components/PostList/hooks/use-profile-filter.hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const useProfileFilter = (
const filterTimeline = useCallback(
async (query?: ParsedUrlQuery) => {
console.log('HAHAHA');
let timelineType = TimelineType.PROFILE;
const timelineType = TimelineType.PROFILE;
let timelineOrder = TimelineOrderType.LATEST;
let tags: string[] = [];
let search: string;
Expand Down

0 comments on commit aef26e5

Please sign in to comment.