Fix website docs (#5873)
There was a 500 on the playground and the switch between core and metadata
This commit is contained in:
@ -195,7 +195,9 @@ const TokenForm = ({
|
||||
className="select"
|
||||
onChange={(event) =>
|
||||
router.replace(
|
||||
'/' + pathname.split('/').at(-2) + '/' + event.target.value,
|
||||
pathname.split('/').slice(0, -1).join('/') +
|
||||
'/' +
|
||||
event.target.value,
|
||||
)
|
||||
}
|
||||
value={pathname.split('/').at(-1)}
|
||||
|
||||
Reference in New Issue
Block a user