Skip to content

Instantly share code, notes, and snippets.

@john-osullivan
Created November 7, 2019 21:36
Show Gist options
  • Save john-osullivan/d0b2bd1de27d651fb24ccb903e7c5549 to your computer and use it in GitHub Desktop.
Save john-osullivan/d0b2bd1de27d651fb24ccb903e7c5549 to your computer and use it in GitHub Desktop.
Dev Diaries #3 - ListDapps Handler
export function handler(args: ArgShape) {
render(
<App args={args} renderFunc={({ API }) => {
return (
<PrettyRequest
operation={ApiMethodLabel(ListDapps.HTTP, ListDapps.Path)}
resource={() => API.private.listDapps.resource()} />
)
}} />
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment