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:
Stan Girard 2024-09-02 18:41:17 +02:00 committed by GitHub
parent 56300cee0a
commit fb12f106e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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>
);
};