Skip to content

Commit

Permalink
Hotfixes: load code hike css for the entire app; fix broken link in a…
Browse files Browse the repository at this point in the history
…pi reference (#452)
  • Loading branch information
louis-md authored Apr 25, 2024
1 parent 450d09e commit 4d400ec
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/scripts/generateApiReference.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,15 +367,14 @@ import Responses from './Response'
import Feedback from '../Feedback'
import Grid from '@mui/material/Grid'
import Box from '@mui/material/Box'
import '@code-hike/mdx/dist/index.css'
# Safe Transaction Service API Reference
This is the Safe Transaction Service API Reference. It is a
collection of endpoints that allow you to keep track of
transactions sent via Safe smart contracts.
The Transaction Service is available on [multiple networks](../../advanced/api-supported-networks), at
The Transaction Service is available on [multiple networks](../../core-api/transaction-service-supported-networks), at
different endpoints.
<NetworkSwitcher />
Expand Down
2 changes: 1 addition & 1 deletion components/ApiReference/examples/-v1-contracts--get.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"count": 138878,
"count": 138896,
"next": "https://safe-transaction-mainnet.safe.global/api/v1/contracts/?limit=2&offset=2",
"previous": null,
"results": [
Expand Down
5 changes: 2 additions & 3 deletions components/ApiReference/generated-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ import Responses from './Response'
import Feedback from '../Feedback'
import Grid from '@mui/material/Grid'
import Box from '@mui/material/Box'
import '@code-hike/mdx/dist/index.css'

# Safe Transaction Service API Reference

This is the Safe Transaction Service API Reference. It is a
collection of endpoints that allow you to keep track of
transactions sent via Safe smart contracts.

The Transaction Service is available on [multiple networks](../../advanced/api-supported-networks), at
The Transaction Service is available on [multiple networks](../../core-api/transaction-service-supported-networks), at
different endpoints.

<NetworkSwitcher />
Expand Down Expand Up @@ -57,7 +56,7 @@ curl -X GET https://safe-transaction-mainnet.safe.global/api/v1/contracts/ \
#### Sample Response
```json
{
"count": 138878,
"count": 138896,
"next": "https://safe-transaction-mainnet.safe.global/api/v1/contracts/?limit=2&offset=2",
"previous": null,
"results": [
Expand Down
4 changes: 2 additions & 2 deletions components/ApiReference/mainnet-swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -3470,7 +3470,7 @@
"title": "Uuid",
"type": "string",
"format": "uuid",
"default": "474ffe4f-afa0-418a-8f0d-2fc73df943da"
"default": "747a8829-5aaf-44cc-b123-afe74456e0eb"
},
"safes": {
"type": "array",
Expand Down Expand Up @@ -3539,7 +3539,7 @@
"title": "Uuid",
"type": "string",
"format": "uuid",
"default": "8220bed2-fabb-42f6-9106-6998b56df13c"
"default": "7f2140a3-e480-4b82-b1ae-71c5dc811a80"
},
"safes": {
"type": "array",
Expand Down
1 change: 1 addition & 0 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
} from '../components/CookieBanner/CookieBannerContext'
import { createEmotionCache } from '../styles/emotion'
import '../styles/styles.css'
import '@code-hike/mdx/dist/index.css'
import { theme } from '../styles/theme'

// Client-side cache, shared for the whole session of the user in the browser.
Expand Down

0 comments on commit 4d400ec

Please sign in to comment.