Skip to content

Commit

Permalink
fix sub/following glitch, gql cache and add logging level (#1286)
Browse files Browse the repository at this point in the history
* fix(trending,gql,logger): sub/following glitch, gql cache and add logging level

* chore(): remove unused import

* refactor(): make default child logging level warn
  • Loading branch information
kenshyx committed Sep 17, 2021
1 parent 5ae1c31 commit eb52040
Show file tree
Hide file tree
Showing 49 changed files with 105 additions and 7,661 deletions.
7 changes: 3 additions & 4 deletions apps/akasha/src/components/post-page/post-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import {
useCreateComment,
} from '@akashaproject/ui-awf-hooks/lib/use-comments.new';
import {
useIsFollowing,
useIsFollowingMultiple,
useFollow,
useUnfollow,
} from '@akashaproject/ui-awf-hooks/lib/use-follow.new';
Expand Down Expand Up @@ -103,10 +103,9 @@ const PostPage: React.FC<IPostPageProps & RootComponentProps> = props => {
const profileDataReq = useGetProfile(loginState?.pubKey);
const loggedProfileData = profileDataReq.data;

const isFollowingMultipleReq = useIsFollowing(
loginState?.ethAddress,
const isFollowingMultipleReq = useIsFollowingMultiple(loginState?.ethAddress, [
entryData?.author?.ethAddress,
);
]);
const followedProfiles = isFollowingMultipleReq.data;
const followReq = useFollow();
const unfollowReq = useUnfollow();
Expand Down
Empty file removed examples/sdk/Readme.md
Empty file.
2 changes: 0 additions & 2 deletions examples/sdk/simple-integration/README.md

This file was deleted.

13 changes: 0 additions & 13 deletions examples/sdk/simple-integration/__tests__/integration.test.ts

This file was deleted.

8 changes: 0 additions & 8 deletions examples/sdk/simple-integration/jest.config.js

This file was deleted.

0 comments on commit eb52040

Please sign in to comment.