Skip to content

Commit

Permalink
fix: resolve svg import error and ignore jsx issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jamieweavis committed Jan 29, 2021
1 parent 5be1db6 commit 0ea1420
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/renderer/components/preferences-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ const PreferencesForm = (): JSX.Element => (
fontWeight="bold"
fontSize="14px"
as="label"
// eslint-disable-next-line
// @ts-ignore
htmlFor="github-username"
style={{ display: 'block' }}
mt="2"
Expand Down Expand Up @@ -73,6 +75,8 @@ const PreferencesForm = (): JSX.Element => (
fontWeight="bold"
fontSize="14px"
as="label"
// eslint-disable-next-line
// @ts-ignore
htmlFor="sync-interval"
style={{ display: 'block' }}
mt="3"
Expand All @@ -98,6 +102,8 @@ const PreferencesForm = (): JSX.Element => (
fontWeight="bold"
fontSize="14px"
as="label"
// eslint-disable-next-line
// @ts-ignore
htmlFor="launch-at-login"
style={{ display: 'block' }}
mt="3"
Expand All @@ -110,6 +116,8 @@ const PreferencesForm = (): JSX.Element => (
fontWeight="bold"
fontSize="14px"
as="label"
// eslint-disable-next-line
// @ts-ignore
htmlFor="notification-enabled"
style={{ display: 'block' }}
mt="3"
Expand All @@ -128,6 +136,8 @@ const PreferencesForm = (): JSX.Element => (
fontWeight="bold"
fontSize="14px"
as="label"
// eslint-disable-next-line
// @ts-ignore
htmlFor="reminder-time"
style={{ display: 'block' }}
mt="3"
Expand Down
4 changes: 4 additions & 0 deletions src/types/svg.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
declare module '*.svg' {
const content: any;
export default content;
}

0 comments on commit 0ea1420

Please sign in to comment.