website icon indicating copy to clipboard operation
website copied to clipboard

Types: use generated GraphQL types everywhere

Open veksen opened this issue 6 years ago • 0 comments

We've implemented generated types from the GraphQL endpoint, but they are not used everywhere:

example of implementation: https://github.com/the-programmers-hangout/website/blob/adb2a925bae1246c08da79a0c59336d2884ccbc6/src/pages/rules.tsx#L7

example where it's missing: https://github.com/the-programmers-hangout/website/blob/adb2a925bae1246c08da79a0c59336d2884ccbc6/src/components/ResourceHeader/index.tsx#L8-L16

veksen avatar Aug 23 '19 20:08 veksen