Commit 040cc29b authored by isstuev's avatar isstuev

change urls again

parent cd13580e
...@@ -316,7 +316,7 @@ frontend: ...@@ -316,7 +316,7 @@ frontend:
- "/api-docs" - "/api-docs"
- "/csv-export" - "/csv-export"
- "/verified-contracts" - "/verified-contracts"
- "/graphql" - "/graphiql"
resources: resources:
limits: limits:
......
...@@ -364,7 +364,7 @@ frontend: ...@@ -364,7 +364,7 @@ frontend:
- "/api-docs" - "/api-docs"
- "/csv-export" - "/csv-export"
- "/verified-contracts" - "/verified-contracts"
- "/graphql" - "/graphiql"
resources: resources:
limits: limits:
......
...@@ -39,7 +39,7 @@ frontend: ...@@ -39,7 +39,7 @@ frontend:
- "/api-docs" - "/api-docs"
- "/csv-export" - "/csv-export"
- "/verified-contracts" - "/verified-contracts"
- "/graphql" - "/graphiql"
resources: resources:
limits: limits:
......
...@@ -39,7 +39,7 @@ frontend: ...@@ -39,7 +39,7 @@ frontend:
- "/api-docs" - "/api-docs"
- "/csv-export" - "/csv-export"
- "/verified-contracts" - "/verified-contracts"
- "/graphql" - "/graphiql"
resources: resources:
limits: limits:
......
...@@ -356,7 +356,7 @@ export const RESOURCES = { ...@@ -356,7 +356,7 @@ export const RESOURCES = {
// GraphQL // GraphQL
graphql: { graphql: {
path: '/graphiql', path: '/graphql',
}, },
// DEPRECATED // DEPRECATED
......
...@@ -137,9 +137,9 @@ export default function useNavItems(): ReturnType { ...@@ -137,9 +137,9 @@ export default function useNavItems(): ReturnType {
} : null, } : null,
{ {
text: 'GraphQL', text: 'GraphQL',
nextRoute: { pathname: '/graphql' as const }, nextRoute: { pathname: '/graphiql' as const },
icon: graphQLIcon, icon: graphQLIcon,
isActive: pathname === '/graphql', isActive: pathname === '/graphiql',
isNewUi: true, isNewUi: true,
}, },
{ {
......
...@@ -25,7 +25,7 @@ declare module "nextjs-routes" { ...@@ -25,7 +25,7 @@ declare module "nextjs-routes" {
| StaticRoute<"/blocks"> | StaticRoute<"/blocks">
| StaticRoute<"/csv-export"> | StaticRoute<"/csv-export">
| StaticRoute<"/graph"> | StaticRoute<"/graph">
| StaticRoute<"/graphql"> | StaticRoute<"/graphiql">
| StaticRoute<"/"> | StaticRoute<"/">
| StaticRoute<"/login"> | StaticRoute<"/login">
| StaticRoute<"/search-results"> | StaticRoute<"/search-results">
......
...@@ -18,7 +18,7 @@ const GraphQL = () => { ...@@ -18,7 +18,7 @@ const GraphQL = () => {
const { colorMode } = useColorMode(); const { colorMode } = useColorMode();
// use colorModeState as a key to re-render GraphiQL conponent after color mode change // colorModeState used as a key to re-render GraphiQL conponent after color mode change
const [ colorModeState, setColorModeState ] = React.useState(colorMode); const [ colorModeState, setColorModeState ] = React.useState(colorMode);
React.useEffect(() => { React.useEffect(() => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment