Refetch post after toggle disable patch
Created by: Tirokk
Authored by mattwr18 Closed
🍰 Pullrequest
This PR
is a patch to get rid of console.errors
in our tests and to avoid use of location.reload
to reload the entire page, instead it emits an event, which refetches the post, since we are using asyncData
for server-side rendering