Skip to content

Commit aa500e9

Browse files
authored
Merge branch 'main' into mp/form-control-any-input
2 parents 5312212 + 0487ecb commit aa500e9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/src/@primer/gatsby-theme-doctocat/live-code-scope.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,14 @@ const ReactRouterLink = ({to, ...props}) => {
1212
return <a href={to} {...props} />
1313
}
1414

15+
// Exclude octicons-react's default export because it's deprecated
16+
const {default: _, ...octiconComponents} = octicons
17+
1518
export default function resolveScope(metastring) {
1619
return {
1720
...doctocatComponents,
1821
...primerComponents,
19-
...octicons,
22+
...octiconComponents,
2023
...(metastring.includes('drafts') ? drafts : {}),
2124
...(metastring.includes('deprecated') ? deprecated : {}),
2225
ReactRouterLink,

0 commit comments

Comments
 (0)