Skip to content

Commit

Permalink
Fix links to CodeSandbox become outdated rapidly
Browse files Browse the repository at this point in the history
  • Loading branch information
fzaninotto committed Apr 4, 2019
1 parent 198fdf3 commit 6481800
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ For code issues please include:
* React-admin version
* React version
* Browser version
* A code example or link to a repo, gist or running site. (hint: fork [this sandbox](https://codesandbox.io/s/349ovjmlx5) to create a reproducible version of your bug)
* A code example or link to a repo, gist or running site. (hint: fork [this sandbox](https://codesandbox.io/s/github/marmelab/react-admin/tree/master/examples/simple) to create a reproducible version of your bug)

For visual or layout problems, images or animated gifs can help explain your issue.
It's even better with a live reproduction test case.
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ about: Something isn't working as expected. Please tell us!
**Related code:**
<!-- If you are able to illustrate the bug or feature request with an example, please provide a sample application via one of the following means:
* CodeSandbox (https://codesandbox.io/s/349ovjmlx5)
* CodeSandbox (https://codesandbox.io/s/github/marmelab/react-admin/tree/master/examples/simple)
* A sample application via GitHub
-->

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ React-admin is designed as a library of loosely coupled React components built o

There are several examples inside the `examples` folder:

* `simple`: a simple application with posts, comments and users that we use for our e2e tests.
* `tutorial`: the application built while following the tutorial.
* `simple` ([CodeSandbox](https://codesandbox.io/s/github/marmelab/react-admin/tree/master/examples/simple)): a simple application with posts, comments and users that we use for our e2e tests.
* `tutorial` ([CodeSandbox](https://github.com/marmelab/react-admin/tree/master/examples/tutorial)): the application built while following the tutorial.
* `demo`: the official demo application.

You can run those example applications by calling:
Expand Down
4 changes: 3 additions & 1 deletion examples/tutorial/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ import authProvider from './authProvider';

const App = () => (
<Admin
dataProvider={jsonServerProvider('http://jsonplaceholder.typicode.com')}
dataProvider={jsonServerProvider(
'https://jsonplaceholder.typicode.com'
)}
authProvider={authProvider}
dashboard={Dashboard}
>
Expand Down

0 comments on commit 6481800

Please sign in to comment.