Skip to content

Commit 98711c8

Browse files
rename rendererCb to rendererWithCallback
1 parent 9b411a0 commit 98711c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/registry/domain/nested-renderer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ interface Options {
1515
}
1616

1717
export default function nestedRenderer(
18-
rendererCb: (
18+
rendererWithCallback: (
1919
options: RendererOptions,
2020
cb: (result: GetComponentResult) => void
2121
) => void,
2222
conf: Config
2323
) {
2424
const renderer = (options: RendererOptions) =>
2525
new Promise<string>((res, rej) => {
26-
rendererCb(options, result => {
26+
rendererWithCallback(options, result => {
2727
if (result.response.error) {
2828
rej(result.response.error);
2929
} else {

0 commit comments

Comments
 (0)