Skip to content

Commit b3312a1

Browse files
abel-nRobbieTheWagner
authored andcommitted
fix <DocsSnippet> snippetText for <CopyButton> (#430)
1 parent 4f5bfd1 commit b3312a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addon/components/docs-snippet/component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export default Component.extend({
8181
name += '.hbs';
8282
}
8383

84-
let snippet = require(config.modulePrefix + "/snippets")[name] || "";
84+
let snippet = require(config.modulePrefix + "/snippets").default[name] || "";
8585

8686
return this._unindent(
8787
snippet

0 commit comments

Comments
 (0)