Skip to content
This repository was archived by the owner on Apr 1, 2022. It is now read-only.

Commit 0aef21a

Browse files
author
Ken Berkeley
committed
keyGen return type must be string
1 parent c579c5c commit 0aef21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/_utils/keyGen.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ export default function (s) {
55
hash = ((hash << 5) - hash) + s.charCodeAt(i)
66
hash |= 0
77
}
8-
return hash
8+
return '' + hash
99
}

0 commit comments

Comments
 (0)