Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

Commit

Permalink
refactor: add href on popup
Browse files Browse the repository at this point in the history
  • Loading branch information
daief committed Jun 25, 2019
1 parent a4f97de commit 37e1717
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/popup/Top.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,15 @@ export const Top: React.SFC<{}> = () => {

return (
<PageHeader
title={DEFINE.displayName}
title={
<a
onClick={() =>
chrome.tabs.create({ url: `options.html` }, () => void 0)
}
>
{DEFINE.displayName}
</a>
}
subTitle={DEFINE.version}
extra={
<ToggleStatus
Expand Down

0 comments on commit 37e1717

Please sign in to comment.