Skip to content

Commit

Permalink
chore: fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtek-krysiak committed Feb 18, 2020
1 parent d53cb32 commit 2c32dd2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion src/frontend/components/actions/edit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ import { useTranslation } from '../../hooks/use-translation'
const Edit: FC<ActionProps> = (props) => {
const { record: initialRecord, resource, action } = props

const { record, handleChange, submit: handleSubmit, loading } = useRecord(initialRecord, resource.id)
const {
record,
handleChange,
submit: handleSubmit,
loading,
} = useRecord(initialRecord, resource.id)
const { translateButton } = useTranslation()
const history = useHistory()

Expand Down
7 changes: 6 additions & 1 deletion src/frontend/components/actions/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ import { useTranslation } from '../../hooks/use-translation'

const New: FC<ActionProps> = (props) => {
const { record: initialRecord, resource, action } = props
const { record, handleChange, submit: handleSubmit, loading } = useRecord(initialRecord, resource.id)
const {
record,
handleChange,
submit: handleSubmit,
loading,
} = useRecord(initialRecord, resource.id)
const { translateButton } = useTranslation()
const history = useHistory()

Expand Down

0 comments on commit 2c32dd2

Please sign in to comment.