Skip to content

Commit f770e18

Browse files
committed
fixed picker not selecting right example
1 parent 98a1200 commit f770e18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example/App.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default class App extends Component {
4949

5050
getView(value) {
5151
switch (value) {
52-
case 6: {
52+
case 0: {
5353
return <Markdown children={copyAll} />;
5454
}
5555
case 1: {
@@ -64,7 +64,7 @@ export default class App extends Component {
6464
case 4: {
6565
return <Markdown rules={rules} style={customMarkdownStyle} children={copyAll} />;
6666
}
67-
case 0: {
67+
case 6: {
6868
return <Markdown rules={pluginRules} plugins={[new PluginContainer(markdownItCheckbox, {divWrap: true})]} style={customMarkdownStyle} children={copyAllCheckboxPlugin} />;
6969
}
7070
default: {

0 commit comments

Comments
 (0)