mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 17:56:25 +02:00
feat: add mobile citation drawer and enhance citation metadata context for improved citation management
This commit is contained in:
parent
04691d572b
commit
cbcaa7aed8
3 changed files with 166 additions and 3 deletions
|
|
@ -63,3 +63,7 @@ export function useCitationMetadata(url: string): CitationMeta | undefined {
|
|||
const map = useContext(CitationMetadataContext);
|
||||
return map.get(url);
|
||||
}
|
||||
|
||||
export function useAllCitationMetadata(): CitationMetadataMap {
|
||||
return useContext(CitationMetadataContext);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue