Skip to content

Commit 0df3e76

Browse files
authored
Merge pull request #263 from FormidableLabs/jp-fix-lint-errors
fixup lint errors
2 parents 5478430 + 6739e5c commit 0df3e76

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
dist/
3+
demo/

stories/Live.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react';
2+
import PropTypes from 'prop-types';
23
import styled from 'styled-components';
34
import { storiesOf } from '@storybook/react';
45
import { withKnobs, boolean } from '@storybook/addon-knobs/react';
@@ -144,6 +145,9 @@ const TestComponent = ({ live }) => {
144145
</Container>
145146
);
146147
};
148+
TestComponent.propTypes = {
149+
live: PropTypes.object
150+
}
147151
const CustomEditor = () => {
148152
// eslint-disable-next-line no-shadow
149153
const [code, updateCode] = React.useState(functionExample);

0 commit comments

Comments
 (0)