Skip to content

Commit

Permalink
Fix string const assign
Browse files Browse the repository at this point in the history
  • Loading branch information
sbward committed Mar 4, 2018
1 parent 6c95ab5 commit 7244c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export function getCustomComponentDefinitionDetails (def) {
}

export function getCustomFunctionDetails (func) {
const string = ''
let string = ''
try {
string = Function.prototype.toString.call(func)
} catch (e) {
Expand Down

0 comments on commit 7244c79

Please sign in to comment.