diff options
| author | MaheshtheDev <[email protected]> | 2024-08-06 21:56:41 -0700 |
|---|---|---|
| committer | MaheshtheDev <[email protected]> | 2024-08-06 21:56:41 -0700 |
| commit | 4c4a53d57ff33fa2bd593eed9a69ff9975589174 (patch) | |
| tree | 6a21ff8395d582cc676a8a9abb06bee637e59f19 | |
| parent | im just tired (diff) | |
| download | supermemory-4c4a53d57ff33fa2bd593eed9a69ff9975589174.tar.xz supermemory-4c4a53d57ff33fa2bd593eed9a69ff9975589174.zip | |
feat: Add "View" button for chrome extension
| -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({ |