This repository was archived by the owner on Jul 30, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +649
-442
lines changed
Expand file tree Collapse file tree 10 files changed +649
-442
lines changed Original file line number Diff line number Diff line change 33import { ApiReferenceReact } from "@scalar/api-reference-react" ;
44import { useTheme } from "nextra-theme-docs" ;
55import { useData } from "nextra/hooks" ;
6- import { useRouter } from "next/router " ;
6+ import { useRouter } from "nextra/hooks " ;
77import {
88 ChangeEventHandler ,
99 cloneElement ,
Original file line number Diff line number Diff line change 33import React , { useEffect , useRef , useState } from "react" ;
44import { Playground } from "nextra/components" ;
55import { usePathname } from "next/navigation" ;
6- import { useRouter } from "next/router " ;
6+ import { useRouter } from "nextra/hooks " ;
77import { ModuleSelectContainer } from "./ModuleSelectContainer" ;
88import {
99 MoveReferenceContext ,
Original file line number Diff line number Diff line change 11import { ReadonlyURLSearchParams } from "next/navigation" ;
22import { createContext , useCallback , useContext } from "react" ;
3- import { useRouter } from "next/router " ;
3+ import { useRouter } from "nextra/hooks " ;
44import { useSearchParams } from "next/navigation" ;
55import { Branch , BRANCHES , DEFAULT_BRANCH } from "./shared" ;
66
Original file line number Diff line number Diff line change 11import LocaleError from "@components/error/LocaleError" ;
22import { Error } from "@components/index" ;
33import Link from "next/link" ;
4- import { useRouter } from "next/router " ;
4+ import { useRouter } from "nextra/hooks " ;
55import { useEffect , useState } from "react" ;
66import { checkIfEnglishPathAvailable } from "utils/locale" ;
77
Original file line number Diff line number Diff line change @@ -101,10 +101,6 @@ export default {
101101 scripts : {
102102 title : "Scripts" ,
103103 } ,
104- patterns : {
105- display : "hidden" ,
106- title : "Patterns" ,
107- } ,
108104 prover : {
109105 title : "Move Prover" ,
110106 } ,
@@ -127,13 +123,4 @@ export default {
127123 linter : {
128124 title : "Linter" ,
129125 } ,
130- "learn-move" : {
131- display : "hidden" ,
132- } ,
133- "aptos-standards" : {
134- display : "hidden" ,
135- } ,
136- tokens : {
137- display : "hidden" ,
138- } ,
139126} ;
You can’t perform that action at this time.
0 commit comments