Created
November 7, 2019 21:36
-
-
Save john-osullivan/d0b2bd1de27d651fb24ccb903e7c5549 to your computer and use it in GitHub Desktop.
Dev Diaries #3 - ListDapps Handler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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