Skip to content

Commit

Permalink
fix: reaction
Browse files Browse the repository at this point in the history
  • Loading branch information
omarsy committed Jun 30, 2024
1 parent 6734cfb commit bef95a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/hooks/feed/useSocialReactions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const useSocialReactions = ({
send: "",
pkg_path: gnoNetwork.socialFeedsPkgPath,
func: "ReactPost",
args: [TERITORI_FEED_ID, post.id, emoji, "true"],
args: [TERITORI_FEED_ID, post.id.split("-")[1], emoji, "true"],
};
const txHash = await adenaDoContract(
post.networkId,
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/useNSPrimaryAlias.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const gnoGetUsernameByAddress = async (
}

const provider = new GnoJSONRPCProvider(network.endpoint);

const username = await provider.evaluateExpression(
network.nameServiceContractAddress,
`GetUserByAddress("${userAddress}").Name`,
Expand Down

0 comments on commit bef95a5

Please sign in to comment.