Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jonnigs committed Sep 12, 2024
1 parent 6b238bf commit 0a39e3d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ interface PropTypes extends FieldBaseProps {
export const Success = ({ application }: PropTypes) => {
const { answers, externalData } = application
const applicationAnswers = application.answers as FinancialStatementCemetery
const userType = getCurrentUserType(answers, externalData)
const { formatMessage } = useLocale()

const getDescriptionText = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,7 @@ import { ElectionSelect } from './ElectionSelect'
import { IncomeLimitFields } from './IncomeLimitFields'
import { m } from '../../lib/utils/messages'

export const ElectionsInfoFields = ({
application,
}: {
application: Application
}) => {
export const ElectionsInfoFields = () => {
const [state, dispatch] = useReducer(electionReducer, electionInitialState)
const { getValues, setValue } = useFormContext()
const values = getValues()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {
buildTextField,
} from '@island.is/application/core'
import { m } from '../../../lib/utils/messages'
import { ABOUTIDS } from '../../../lib/utils/constants'
import { Application, UserProfile } from '@island.is/application/types'
import { Identity } from '@island.is/api/schema'

Expand Down

0 comments on commit 0a39e3d

Please sign in to comment.