summaryrefslogtreecommitdiff
path: root/animism-align/frontend/app/views/align/components/annotations/annotation.index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-07-27 15:44:29 +0200
committerJules Laplace <julescarbon@gmail.com>2020-07-27 15:44:29 +0200
commit2aad507650fa3263ef81be759ab0531b43e5b7cc (patch)
treeb8299f962ef0e3342cb8978f5e0a4f57a8ee1b30 /animism-align/frontend/app/views/align/components/annotations/annotation.index.js
parenteee3193ecf604eaed30505128b2a1f7bb875d44a (diff)
annotation form for curtain events. refactor utilities
Diffstat (limited to 'animism-align/frontend/app/views/align/components/annotations/annotation.index.js')
-rw-r--r--animism-align/frontend/app/views/align/components/annotations/annotation.index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/animism-align/frontend/app/views/align/components/annotations/annotation.index.js b/animism-align/frontend/app/views/align/components/annotations/annotation.index.js
index aa31268..da1038f 100644
--- a/animism-align/frontend/app/views/align/components/annotations/annotation.index.js
+++ b/animism-align/frontend/app/views/align/components/annotations/annotation.index.js
@@ -1,4 +1,4 @@
-import React, { Component } from 'react'
+import React, { PureComponent } from 'react'
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
@@ -6,11 +6,11 @@ import actions from 'app/actions'
import { ZOOM_STEPS, INNER_HEIGHT } from 'app/constants'
import { clamp } from 'app/utils'
-import { positionToTime, timeToPosition } from 'app/views/align/align.util'
+import { positionToTime, timeToPosition } from 'app/utils/align.utils'
import { AnnotationElementLookup } from './annotationTypes'
-class AnnotationIndex extends Component {
+class AnnotationIndex extends PureComponent {
state = {
items: [],
}