Skip to content

Commit

Permalink
fix(demo): demo page not working (vime-js#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
injae.lee authored Nov 4, 2021
1 parent 70b3965 commit 23ba7bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/src/components/demo/editorPanel.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Tweakpane from 'tweakpane';
import { Pane } from 'tweakpane';

const buildEditorPanel = ({
container,
Expand All @@ -9,7 +9,7 @@ const buildEditorPanel = ({
}) => {
if (typeof container === 'undefined') return null;

const pane = new Tweakpane({
const pane = new Pane({
title: 'Editor',
container,
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Tweakpane from 'tweakpane';
import { Pane } from 'tweakpane';

const buildEditorPanel = ({
container,
Expand All @@ -9,7 +9,7 @@ const buildEditorPanel = ({
}) => {
if (typeof container === 'undefined') return null;

const pane = new Tweakpane({
const pane = new Pane({
title: 'Editor',
container,
});
Expand Down

0 comments on commit 23ba7bb

Please sign in to comment.