React-admin component does not use dataprovider to call api
问题 I want to add a custom Card onto one of my pages, which should call the rest api with filters. I wrote a new component for that, but i got error return, that response is not defined. I checked, no calls are reaching my api, so i'm pretty sure response is not defined because the api call is not happening, not executing. here's my component's code: import React, { Component } from 'react'; import { GET_LIST } from 'react-admin'; import dataProviderFactory from '../dataprovider/rest'; import