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

History unknown error #90

Open
eibay opened this issue Oct 7, 2020 · 0 comments
Open

History unknown error #90

eibay opened this issue Oct 7, 2020 · 0 comments

Comments

@eibay
Copy link

eibay commented Oct 7, 2020

I cloned the final repository for both server and client and run the necessary yarn installs and tests and everything passes. Now when I run yarn start, this error message comes up...

  The types of 'location.state' are incompatible between these types.
    Type 'unknown' is not assignable to type 'PoorMansUnknown'.
      Type 'unknown' is not assignable to type '{}'.  TS2322

    24 |         component={withAuth(
    25 |           ({ match, history }: RouteComponentProps<{ chatId: string }>) => (
  > 26 |             <ChatRoomScreen chatId={match.params.chatId} history={history} />
       |                                                          ^
    27 |           )
    28 |         )}
    29 |       />
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

1 participant