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

Create a version of useDiscussion which can have data loaded through getStatic/g... #47

Open
github-actions bot opened this issue May 26, 2022 · 0 comments
Labels

Comments

@github-actions
Copy link

Create a version of useDiscussion which can have data loaded through getStatic/getServerSide props

https://github.com/ThomasFKJorna/thesis-visualization/blob/30049cf6e0a939842bcf9768258e78cd12f91b2a/apps/thesis/pages/discussions/index.tsx#L32

export const DiscussionsPage = (props: Props) => {
  const { access, token, discussionCategories } = props

  console.log(token)
  // TODO: Create a version of useDiscussion which can have data loaded through getStatic/getServerSide props
  const { data, isLoading } = useDiscussion({
    first: 10,
    repo: 'thomasfkjorna/thesis-discussions',
    term: '',

7d22ea43b77cfe762d3396e5883259bf70f77eee

@github-actions github-actions bot added the todo label May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants