Merge pull request #229 from supermemoryai/fix/extension-nav

feat: Add "View" button for chrome extension
This commit is contained in:
Dhravya Shah 2024-08-07 10:25:03 -07:00 committed by GitHub
commit d2249d4def
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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({