mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-29 14:57:03 +03:00
chore: remove unused syncNotion function in ConnectionCards.tsx (#3129)
# Description Please include a summary of the changes and the related issue. Please also include relevant motivation and context. ## Checklist before requesting a review Please delete options that are not relevant. - [ ] My code follows the style guidelines of this project - [ ] I have performed a self-review of my code - [ ] I have commented hard-to-understand areas - [ ] I have ideally added tests that prove my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [ ] Any dependent changes have been merged ## Screenshots (if appropriate):
This commit is contained in:
parent
56300cee0a
commit
fb12f106e7
@ -10,7 +10,7 @@ interface ConnectionCardsProps {
|
||||
export const ConnectionCards = ({
|
||||
fromAddKnowledge,
|
||||
}: ConnectionCardsProps): JSX.Element => {
|
||||
const { syncGoogleDrive, syncSharepoint, syncDropbox, syncNotion} = useSync();
|
||||
const { syncGoogleDrive, syncSharepoint, syncDropbox } = useSync();
|
||||
|
||||
return (
|
||||
<div
|
||||
@ -35,12 +35,12 @@ export const ConnectionCards = ({
|
||||
callback={(name) => syncDropbox(name)}
|
||||
fromAddKnowledge={fromAddKnowledge}
|
||||
/>
|
||||
<ConnectionSection
|
||||
{/* <ConnectionSection
|
||||
label="Notion"
|
||||
provider="Notion"
|
||||
callback={(name) => syncNotion(name)}
|
||||
fromAddKnowledge={fromAddKnowledge}
|
||||
/>
|
||||
/> */}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user