Skip to content

Commit

Permalink
Fix outdated ra-data-graphql README
Browse files Browse the repository at this point in the history
Refs #3978
  • Loading branch information
fzaninotto committed Nov 13, 2019
1 parent a0e0893 commit 7339e37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ra-data-graphql-simple/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The `ra-data-graphql-simple` package exposes a single function, which is a const
// in App.js
import React, { Component } from 'react';
import buildGraphQLProvider from 'ra-data-graphql-simple';
import { Admin, Resource, Delete } from 'react-admin';
import { Admin, Resource } from 'react-admin';

import { PostCreate, PostEdit, PostList } from './posts';

Expand All @@ -52,7 +52,7 @@ class App extends Component {

return (
<Admin dataProvider={dataProvider}>
<Resource name="Post" list={PostList} edit={PostEdit} create={PostCreate} remove={Delete} />
<Resource name="Post" list={PostList} edit={PostEdit} create={PostCreate} />
</Admin>
);
}
Expand Down

0 comments on commit 7339e37

Please sign in to comment.