Skip to content

Commit 7f0f4d3

Browse files
alencarlucasdouglasmuraoka
authored andcommitted
Fix: AppsMenu not closing after selecting app (#1146)
1 parent 11520d9 commit 7f0f4d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Sidebar/AppsMenu.react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ let AppsMenu = ({ apps, current, height, onSelect }) => (
2323
return null;
2424
}
2525
return (
26-
<Link to={{ pathname: html`/apps/${app.slug}/browser` }} key={app.slug} className={styles.menuRow}>
26+
<Link to={{ pathname: html`/apps/${app.slug}/browser` }} key={app.slug} className={styles.menuRow} onClick={onSelect.bind(null, current.slug)}>
2727
{app.name}
2828
<AppBadge production={app.production} />
2929
</Link>

0 commit comments

Comments
 (0)