Skip to content

Commit

Permalink
fix: fetch assets inside dynamic content (#1369, #1587, #1630, #1936, #…
Browse files Browse the repository at this point in the history
  • Loading branch information
mskec committed Mar 5, 2024
1 parent fadf37f commit 8c32948
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/layout/src/steps/resolvePagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ const paginate = async (page, pageNumber, fontStore, yoga) => {
let nextPage = splittedPage[1];

while (nextPage !== null) {
splittedPage = splitPage(
splittedPage = await splitPage(
nextPage,
pageNumber + pages.length,
fontStore,
Expand Down
1 change: 1 addition & 0 deletions packages/layout/tests/steps/resolvePagination.test.jsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import React from 'react'
import { describe, expect, test } from 'vitest';
import { Text } from '@react-pdf/primitives';

Expand Down

0 comments on commit 8c32948

Please sign in to comment.