Skip to content

Commit

Permalink
fix(bar): fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
wyze authored and plouc committed Nov 9, 2020
1 parent bc39883 commit 640c883
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/bar/src/BarAnnotations.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,15 @@
import React from 'react'
import { Annotation, useAnnotations } from '@nivo/annotations'

const BarAnnotations = ({ bars, annotations, animate, motionStiffness, motionDamping }) => {
const BarAnnotations = ({
bars,
annotations,
animate,
innerWidth,
innerHeight,
motionStiffness,
motionDamping,
}) => {
const boundAnnotations = useAnnotations({
items: bars,
annotations,
Expand Down

0 comments on commit 640c883

Please sign in to comment.