Skip to content

Instantly share code, notes, and snippets.

@pshushereba
Created August 26, 2019 03:16
Show Gist options
  • Select an option

  • Save pshushereba/64d133a2b334949da8830b8ca8b2ba15 to your computer and use it in GitHub Desktop.

Select an option

Save pshushereba/64d133a2b334949da8830b8ca8b2ba15 to your computer and use it in GitHub Desktop.

Revisions

  1. pshushereba created this gist Aug 26, 2019.
    8 changes: 8 additions & 0 deletions Async Axios Call
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    // const fetchData = async () => {
    // const result = await axios.get(
    // proxy + url
    // )
    // setTrialData(result.data.FullStudiesResponse.FullStudies)
    // }

    // fetchData()