diff options
| author | Dhravya <[email protected]> | 2024-04-10 15:36:51 -0700 |
|---|---|---|
| committer | Dhravya <[email protected]> | 2024-04-10 15:36:51 -0700 |
| commit | feea1a26dc19074fd58ad156cd418c3efb1971b6 (patch) | |
| tree | d6cb551d3489fff6b78cb7e9ad0c11b2a8d04826 /apps/web/src/contexts | |
| parent | added ext.css, prevent css mismatch (diff) | |
| download | supermemory-feea1a26dc19074fd58ad156cd418c3efb1971b6.tar.xz supermemory-feea1a26dc19074fd58ad156cd418c3efb1971b6.zip | |
extension styling such that website content is not affected https://twitter.com/DhravyaShah/status/1778189224396922948
Diffstat (limited to 'apps/web/src/contexts')
| -rw-r--r-- | apps/web/src/contexts/MemoryContext.tsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/web/src/contexts/MemoryContext.tsx b/apps/web/src/contexts/MemoryContext.tsx index 3727c464..eab1e4fe 100644 --- a/apps/web/src/contexts/MemoryContext.tsx +++ b/apps/web/src/contexts/MemoryContext.tsx @@ -1,6 +1,6 @@ -'use client'; -import React, { useCallback } from 'react'; -import { CollectedSpaces } from '../../types/memory'; +"use client"; +import React, { useCallback } from "react"; +import { CollectedSpaces } from "../../types/memory"; // temperory (will change) export const MemoryContext = React.createContext<{ @@ -41,7 +41,7 @@ export const MemoryProvider: React.FC< export const useMemory = () => { const context = React.useContext(MemoryContext); if (context === undefined) { - throw new Error('useMemory must be used within a MemoryProvider'); + throw new Error("useMemory must be used within a MemoryProvider"); } return context; }; |