Skip to content

Commit

Permalink
Fixed linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
TomPlum committed Oct 1, 2023
1 parent ae200bc commit c6acf29
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/api/hooks/useCreateAnkiCard/useCreateAnkiCard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const useCreateAnkiCardMutationKey = () => {
}

const useCreateAnkiCard = () => {
const client = useAnkiConnect<CreateAnkiCardParams>()
const client = useAnkiConnect<CreateAnkiCardParams, string>()

const addCard = useCallback(async (params: CreateAnkiCardParams) => {
return await client.call('addNote', params)
Expand Down
2 changes: 0 additions & 2 deletions src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import styles from "./Footer.module.scss"
import { useTranslation } from "react-i18next"
import { Container } from "@mui/material"
import { GitHub, RssFeedTwoTone } from "@mui/icons-material"

const Footer = () => {
const { t } = useTranslation('translation', { keyPrefix: 'footer' })
// TODO: Add copyright
return (
<Container maxWidth="sm" className={styles.footer}>
Expand Down

0 comments on commit c6acf29

Please sign in to comment.