Skip to content

Commit

Permalink
Fix lint on Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
ottodevs committed Jun 6, 2019
1 parent 758ad80 commit 3eb82c8
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions app/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import {
Main,
AppBar,
AppView,
Button,
// TODO: temporarily disabled edit-mode
// Button,
SidePanel,
EmptyStateCard,
IconHome,
Expand All @@ -20,7 +21,8 @@ import Widget from './components/content/Widget'
function App() {
const [panelVisible, setPanelVisible] = useState(false)
// TODO: useState(false) to start editMode disabled
const [editMode, setEditMode] = useState(true)
// const [editMode, setEditMode] = useState(true)
const [editMode] = useState(true)
const [selectedWidget, setSelectedWidget] = useState(0)

const { api, appState } = useAragonApi()
Expand Down Expand Up @@ -48,9 +50,10 @@ function App() {
return api.addWidget(_ipfsAddr)
}

const toggleEditMode = () => {
setEditMode(!editMode)
}
// TODO: temporarily disabled
// const toggleEditMode = () => {
// setEditMode(!editMode)
// }

const widgetList =
entries &&
Expand Down

0 comments on commit 3eb82c8

Please sign in to comment.