Skip to content
Snippets Groups Projects
Commit 175e969c authored by Lukas's avatar Lukas
Browse files

Update post content hook query key

parent 049f8e50
No related branches found
No related tags found
1 merge request!510Lbudginas/#411 add post comments
......@@ -5,7 +5,7 @@ const usePostContent = (accountName: string, permlink: string) => {
const trimAccount = accountName.replace("@", "");
const { data, isLoading, isError } = useQuery({
queryKey: ["blockSearch", trimAccount, permlink],
queryKey: ["post content", trimAccount, permlink],
queryFn: () => fetchPostContent(trimAccount, permlink),
refetchOnWindowFocus: false,
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment