Skip to content

Commit 1779f0e

Browse files
committed
Use const here.
1 parent b93f58e commit 1779f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.storybook/lib/storiesFromMarkdown.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const railsOcticonToReact = (html) => {
2020
}
2121

2222
const nodeToStory = (node, file) => {
23-
let html = railsOcticonToReact(node.value)
23+
const html = railsOcticonToReact(node.value)
2424
const element = htmlParser.parse(html)
2525
const pairs = node.lang.replace(/^html\s*/, '')
2626
const attrs = pairs.length ? parsePairs(pairs) : {}

0 commit comments

Comments
 (0)