File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -10,9 +10,15 @@ import { atomWithHash } from "jotai-location";
10
10
import speakeasyWhiteLogo from "./assets/speakeasy-white.svg" ;
11
11
import openapiLogo from "./assets/openapi.svg" ;
12
12
13
- const originalOpenAPI = atomWithHash ( "originalOpenAPI" , petstore ) ;
14
- const changedOpenAPI = atomWithHash ( "changedOpenAPI" , petstore ) ;
15
- const overlay = atomWithHash ( "overlay" , blankOverlay ) ;
13
+ const originalOpenAPI = atomWithHash ( "originalOpenAPI" , petstore , {
14
+ setHash : "replaceState" ,
15
+ } ) ;
16
+ const changedOpenAPI = atomWithHash ( "changedOpenAPI" , petstore , {
17
+ setHash : "replaceState" ,
18
+ } ) ;
19
+ const overlay = atomWithHash ( "overlay" , blankOverlay , {
20
+ setHash : "replaceState" ,
21
+ } ) ;
16
22
17
23
function Playground ( ) {
18
24
const [ ready , setReady ] = useState ( false ) ;
You can’t perform that action at this time.
0 commit comments