Skip to content

Commit

Permalink
chore(demo): remove un-used setVal()
Browse files Browse the repository at this point in the history
  • Loading branch information
wellyshen committed Jun 24, 2020
1 parent df68a25 commit ab67e2a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions demo/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ const App: FC = () => {
const handleSeek = (e: ChangeEvent) => {
const value = parseInt((e.target as HTMLInputElement).value, 10);

setVal(value);

const blockAnim = getBlockAnim();
const blockTiming = blockAnim.effect.getTiming();
if (blockAnim.playState === "running") blockAnim.pause();
Expand Down

0 comments on commit ab67e2a

Please sign in to comment.