docs: fix redirect url
Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com>
This commit is contained in:
parent
27cf21508a
commit
1945fef035
@ -19,7 +19,7 @@ const Select = () => {
|
|||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<SelectStyled value={currentLocation[currentLocation.length - 1]} onChange={(e) => isBrowser ? window.location.pathname = `/${e.currentTarget.value}/index.html` : null}>
|
<SelectStyled value={currentLocation[currentLocation.length - 1]} onChange={(e) => isBrowser ? window.location.pathname = `/${e.currentTarget.value}` : null}>
|
||||||
{tagsList.map(t => (
|
{tagsList.map(t => (
|
||||||
<option>{t.tag}</option>
|
<option>{t.tag}</option>
|
||||||
))}
|
))}
|
||||||
|
Reference in New Issue
Block a user