Skip to content

Commit

Permalink
fix: await renderContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
inottn committed Sep 20, 2023
1 parent 640b044 commit cb4266d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class MiniPoster {
canvas.height = height * pixelRatio;
context.scale(pixelRatio, pixelRatio);

this.renderContainer({
await this.renderContainer({
type: 'container',
...config,
left: 0,
Expand Down

0 comments on commit cb4266d

Please sign in to comment.