aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDhravya Shah <[email protected]>2024-08-07 10:25:03 -0700
committerGitHub <[email protected]>2024-08-07 10:25:03 -0700
commitd2249d4def9cdd20e5079343d78e81900b2b2727 (patch)
tree6a21ff8395d582cc676a8a9abb06bee637e59f19 /apps
parentim just tired (diff)
parentfeat: Add "View" button for chrome extension (diff)
downloadsupermemory-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.tsx12
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({