Skip to content

Commit

Permalink
chore: fix lint errors, removed unused d2 import
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardo committed Aug 24, 2021
1 parent b1e0bc5 commit 8777b4f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/view/TitleBar/ActionsBar.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { SharingDialog } from '@dhis2-ui/sharing-dialog'
import { useDataEngine, useAlert } from '@dhis2/app-runtime'
import { useD2 } from '@dhis2/app-runtime-adapter-d2'
import i18n from '@dhis2/d2-i18n'
import { SharingDialog } from '@dhis2-ui/sharing-dialog'
import { Button, FlyoutMenu, MenuItem, colors, IconMore24 } from '@dhis2/ui'
import PropTypes from 'prop-types'
import React, { useState } from 'react'
Expand Down Expand Up @@ -36,7 +35,6 @@ const ViewActions = ({
const [moreOptionsIsOpen, setMoreOptionsIsOpen] = useState(false)
const [sharingDialogIsOpen, setSharingDialogIsOpen] = useState(false)
const [redirectUrl, setRedirectUrl] = useState(null)
const { d2 } = useD2()
const dataEngine = useDataEngine()

const warningAlert = useAlert(({ msg }) => msg, {
Expand Down

0 comments on commit 8777b4f

Please sign in to comment.