Nav supports EXAMPLE_USERNAME (part of code only, rest in server/views/index.js)
This commit is contained in:
parent
dc5fba2e5a
commit
a548e6937c
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ class Nav extends React.PureComponent {
|
|||
{ getConfig('EXAMPLES_ENABLED') &&
|
||||
<li className="nav__dropdown-item">
|
||||
<Link
|
||||
to="/p5/sketches"
|
||||
to={`/${getConfig('EXAMPLE_USERNAME')}/sketches`}
|
||||
onFocus={this.handleFocusForFile}
|
||||
onBlur={this.handleBlur}
|
||||
onClick={this.setDropdownForNone}
|
||||
|
|
Loading…
Reference in a new issue