Skip to content

Commit

Permalink
test: japanese PDF is only a single page
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpedemonte committed Jan 19, 2024
1 parent 31292f1 commit d68818f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export const _WithTextSelection = {

export const WithPdfInJapanese = {
render: () => {
const page = number(pageKnob.label, pageKnob.defaultValue, pageKnob.options);
const page = number(pageKnob.label, pageKnob.defaultValue, { ...pageKnob.options, max: 1 });
const zoom = radios(zoomKnob.label, zoomKnob.options, zoomKnob.defaultValue);
const scale = parseFloat(zoom);
const setLoadingAction = action('setLoading');
Expand Down

0 comments on commit d68818f

Please sign in to comment.