Merge branch 'persistent-syntax-selection' into 'dev'
Persistent syntax selection See merge request ligolang/ligo!478
This commit is contained in:
commit
909770fd10
@ -59,7 +59,10 @@ function DocPage(props) {
|
||||
sidebar={sidebar}
|
||||
sidebarCollapsible={sidebarCollapsible}
|
||||
syntax={syntax}
|
||||
onSyntaxChange={l => setSyntax(l)}
|
||||
onSyntaxChange={l => {
|
||||
localStorage.setItem('syntax', l);
|
||||
setSyntax(l)
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user