Skip to content

Commit

Permalink
docs: correct links to sources for hooks (#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
WanderingBrooks committed Dec 13, 2023
1 parent b7bfdb2 commit 1cffe4b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/api-reference/hooks/use-api-is-loaded.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ Returns a boolean indicating if the Maps JavaScript API completed loading.

## Source

[`src/hooks/use-api-is-loaded.tsx`][src]
[`src/hooks/use-api-is-loaded.ts`][src]

[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-api-is-loaded.tsx
[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-api-is-loaded.ts
4 changes: 2 additions & 2 deletions docs/api-reference/hooks/use-api-loading-status.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ Returns the current loading-state.

## Source

[`src/hooks/use-api-loading-status.tsx`][src]
[`src/hooks/use-api-loading-status.ts`][src]

[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-api-loading-status.tsx
[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-api-loading-status.ts
4 changes: 2 additions & 2 deletions docs/api-reference/hooks/use-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ the parent map instance, or the default map instance if there is no parent.

## Source

[`src/hooks/use-map.tsx`][src]
[`src/hooks/use-map.ts`][src]

[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-map.tsx
[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-map.ts
[gmp-map-ref]: https://developers.google.com/maps/documentation/javascript/reference/map#Map
4 changes: 2 additions & 2 deletions docs/api-reference/hooks/use-maps-library.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ The name of the library that should be loaded

## Source

[`src/hooks/use-maps-library.tsx`][src]
[`src/hooks/use-maps-library.ts`][src]

[gmp-libraries]: https://developers.google.com/maps/documentation/javascript/libraries
[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-maps-library.tsx
[src]: https://github.com/visgl/react-google-maps/blob/main/src/hooks/use-maps-library.ts

0 comments on commit 1cffe4b

Please sign in to comment.