Skip to content

Commit 978f1a5

Browse files
authored
Replace element prop type to fix SSR issue (#84)
* Increment version * Replace use of Element with object to fix issue in SSR
1 parent 91c0f81 commit 978f1a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/form/prompt-input/PromptInputTextarea.es6.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ PromptInputTextarea.propTypes = {
3131
rows: PropTypes.number,
3232
textareaRef: PropTypes.oneOfType([
3333
PropTypes.func,
34-
PropTypes.shape({ current: PropTypes.instanceOf(Element) })
34+
PropTypes.shape({ current: PropTypes.object })
3535
]),
3636
value: PropTypes.string,
3737
onChange: PropTypes.func,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@b12/metronome",
3-
"version": "1.1.26",
3+
"version": "1.1.27",
44
"description": "",
55
"main": "index.es6.js",
66
"scripts": {

0 commit comments

Comments
 (0)