diff options
| author | Dhravya Shah <[email protected]> | 2024-08-07 10:25:03 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-08-07 10:25:03 -0700 |
| commit | d2249d4def9cdd20e5079343d78e81900b2b2727 (patch) | |
| tree | 6a21ff8395d582cc676a8a9abb06bee637e59f19 /apps | |
| parent | im just tired (diff) | |
| parent | feat: Add "View" button for chrome extension (diff) | |
| download | supermemory-d2249d4def9cdd20e5079343d78e81900b2b2727.tar.xz supermemory-d2249d4def9cdd20e5079343d78e81900b2b2727.zip | |
Merge pull request #229 from supermemoryai/fix/extension-nav
feat: Add "View" button for chrome extension
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/extension/content/ContentApp.tsx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/apps/extension/content/ContentApp.tsx b/apps/extension/content/ContentApp.tsx index a510a77c..fb28925d 100644 --- a/apps/extension/content/ContentApp.tsx +++ b/apps/extension/content/ContentApp.tsx @@ -229,6 +229,18 @@ export default function ContentApp({ if (rep.status === 200) { toast({ title: "Saved to supermemory.ai", + action: ( + <button + onClick={() => { + window.open( + `https://supermemory.ai`, + "_blank", + ); + }} + > + View + </button> + ), }); } else { toast({ |