Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to perform a full page reload on edit post page in React Client. #1199

Open
delesseps opened this issue Jul 6, 2020 · 2 comments
Open

Comments

@delesseps
Copy link

Describe the bug
Unable to perform a full page reload on edit post page in React Client.

To Reproduce
Steps to reproduce the behavior:

  1. Start via yarn watch to launch default React client.
  2. Go to /posts
  3. Click on a post. e.g. Post title 20
  4. Should take you to /post/20
  5. Reload the page
  6. Page is blank. No console errors. (note: a full reload on /post/new does work)
  7. Does show a server error in the page source: <script charset="UTF-8">window.__SERVER_ERROR__={"stack":"TypeError: Cannot read property 'id' of undefined\n at PostCommentForm (...;</script>

Expected behavior
Page should load as it does when navigating from the Posts page.

Screenshots
image

Desktop (please complete the following information):

  • OS: OSX
  • Browser: Chrome
  • Version: 83.0.4103.116
@bharatraj1508
Copy link

Hi,

Have you been able to solve this? I can have a look into it

@bharatraj1508
Copy link

The property 'id' seems to be undefined and it might be caused by an issue in the code, which may include TypeScript code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants