Skip to content

Commit 032c0c4

Browse files
committed
chore: merge branch 'master' of github.com:wwayne/react-tooltip
2 parents 9abb0ec + 083edfb commit 032c0c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class ReactTooltip extends React.Component {
8686
super(props);
8787

8888
this.state = {
89-
uuid: generateUUID(),
89+
uuid: props.uuid || generateUUID(),
9090
place: props.place || "top", // Direction of tooltip
9191
desiredPlace: props.place || "top",
9292
type: "dark", // Color theme of tooltip

0 commit comments

Comments
 (0)