Skip to content

Commit fb19356

Browse files
committed
fix(web-component): interpolate cssImportPath in style tag
1 parent c0b3fb2 commit fb19356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web-component/src/AsyncApiWebComponent.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export class AsyncApiWebComponent extends React.Component<AsyncApiWebComponentPr
8282

8383
return (
8484
<>
85-
<style>@import '{finalCssImportPath}';</style>
85+
<style>{`@import '${finalCssImportPath}';`}</style>
8686
<AsyncApiComponent {...this.props} schema={schema} />
8787
</>
8888
);

0 commit comments

Comments
 (0)