Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Fix anchors #9305

Merged
merged 2 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/Actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ Internally, react-admin uses [react-query](https://tanstack.com/query/v3/) to ca
1. It triggers the loader in the AppBar when the query is running.
2. It reduces the boilerplate code since you don't need to use `useState`.
3. It supports a vast array of options
3. It displays stale data while fetching up-to-date data, leading to a snappier UI
4. It displays stale data while fetching up-to-date data, leading to a snappier UI

React-query offers 2 main hooks to interact with the dataProvider:

Expand Down
2 changes: 1 addition & 1 deletion docs/Edit.md
Original file line number Diff line number Diff line change
Expand Up @@ -772,4 +772,4 @@ export const PostEdit = () => (
);
```

**Tips:** If you want users to be warned if they haven't pressed the Save button when they browse to another record, you can follow the tutorial [Navigating Through Records In`<Edit>` Views](./PrevNextButtons.md#navigating-through-records-inedit-views-after-submit).
**Tips:** If you want users to be warned if they haven't pressed the Save button when they browse to another record, you can follow the tutorial [Navigating Through Records In`<Edit>` Views](./PrevNextButtons.md#navigating-through-records-in-edit-views-after-submit).
2 changes: 1 addition & 1 deletion docs/Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ title: "Index"
* [`useGetOneLive`](./useGetOneLive.md)<img class="icon" src="./img/premium.svg" />
* [`useGetPermissions`](./WithPermissions.md)
* [`useGetRecordId`](./useGetRecordId.md)
* [`useGetRecordRepresentation`](./useGetRecordRepresentation.md)

**- I -**
* [`useInfiniteGetList`](./useInfiniteGetList.md)
Expand Down Expand Up @@ -278,7 +279,6 @@ title: "Index"

**- R -**
* [`useRecordContext`](./useRecordContext.md)
* [`useRecordRepresentation`](./useRecordRepresentation.md)
* [`useRedirect`](./useRedirect.md)
* [`useReference`](./useGetOne.md#aggregating-getone-calls)
* [`useRefresh`](./useRefresh.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/Show.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ export const PostShow = () => (
);
```

**Tips:** If you want the `<PrevNextButtons>` to link to the `<Show>` view, you have to set the `linkType` to `show`. See [the `<PrevNextButtons linkType>` prop](./PrevNextButtons.md##linktype).
**Tips:** If you want the `<PrevNextButtons>` to link to the `<Show>` view, you have to set the `linkType` to `show`. See [the `<PrevNextButtons linkType>` prop](./PrevNextButtons.md#linktype).

## API

Expand Down
2 changes: 1 addition & 1 deletion docs/SimpleShowLayout.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const PostShow = () => (

## Props

* [`children`](#fields): components rendering a record field
* [`children`](#children): components rendering a record field
* `className`: passed to the root component
* [`divider`](#divider): optional element to render between each field
* [`record`](#controlled-mode): can be injected when outside a RecordContext
Expand Down