Skip to content

Commit e821ac5

Browse files
committed
Fix prettier whitespace issues
1 parent 70f1b39 commit e821ac5

File tree

11 files changed

+18
-18
lines changed

11 files changed

+18
-18
lines changed

assets/src/block-validation/components/amp-document-status/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ export default function AMPDocumentStatusNotification() {
9494
? __(
9595
'Content may have changed. Trigger validation in the AMP Validation sidebar.',
9696
'amp'
97-
)
97+
)
9898
: __(
9999
'Content has changed. Trigger validation in the AMP Validation sidebar.',
100100
'amp'
101-
)
101+
)
102102
}
103103
isSmall={true}
104104
/>
@@ -213,7 +213,7 @@ export default function AMPDocumentStatusNotification() {
213213
'amp'
214214
),
215215
reviewedValidationErrorCount
216-
)
216+
)
217217
: __('No AMP validation issues detected.', 'amp')
218218
}
219219
isSmall={true}

assets/src/block-validation/components/error/error-panel-title.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export function ErrorPanelTitle({ kept, title, error: { type } }) {
3131
? __(
3232
'This error has been kept, making this URL not AMP-compatible.',
3333
'amp'
34-
)
34+
)
3535
: ''
3636
}
3737
>

assets/src/block-validation/components/sidebar/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export function Sidebar() {
3030
? select(blockValidationStore).getValidationErrors()
3131
: select(
3232
blockValidationStore
33-
).getUnreviewedValidationErrors(),
33+
).getUnreviewedValidationErrors(),
3434
hasReviewedValidationErrors:
3535
select(blockValidationStore).getReviewedValidationErrors()
3636
?.length > 0,

assets/src/components/site-scan-context-provider/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ export function SiteScanContextProvider({
610610
? Math.min(
611611
scannableUrls.length,
612612
...urlIndexesPendingScan
613-
)
613+
)
614614
: 0) - 1,
615615
stale,
616616
startSiteScan,

assets/src/components/site-scan-results/plugins-with-amp-incompatibility.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export function PluginsWithAmpIncompatibility({
8686
<a href={AMP_COMPATIBLE_PLUGINS_URL} />
8787
),
8888
}
89-
)
89+
)
9090
: ''}
9191
</p>
9292
)}

assets/src/components/site-scan-results/themes-with-amp-incompatibility.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export function ThemesWithAmpIncompatibility({
9999
<a href={AMP_COMPATIBLE_THEMES_URL} />
100100
),
101101
}
102-
)
102+
)
103103
: ''}
104104
</p>
105105
)}

assets/src/onboarding-wizard/components/nav/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ export function Nav({ closeLink, finishLink }) {
110110
? {
111111
'autofocus[panel]': 'amp_panel',
112112
url: previewPermalink,
113-
}
113+
}
114114
: { url: previewPermalink, [AMP_QUERY_VAR]: '1' }
115-
)
115+
)
116116
: undefined;
117117
} else if (isLastPage) {
118118
nextText = __('Finish', 'amp');

assets/src/onboarding-wizard/pages/site-scan/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ export function SiteScan() {
117117
? __(
118118
'Site scan found issues on your site. Proceed to the next step to follow recommendations for choosing a template mode.',
119119
'amp'
120-
)
120+
)
121121
: __(
122122
'Site scan found no issues on your site. Proceed to the next step to follow recommendations for choosing a template mode.',
123123
'amp'
124-
)}
124+
)}
125125
</p>
126126
}
127127
>
@@ -175,7 +175,7 @@ export function SiteScan() {
175175
isCompleted
176176
? 100
177177
: (scannedUrlsMaxIndex / scannableUrls.length) *
178-
100
178+
100
179179
}
180180
/>
181181
<p className="site-scan__status">
@@ -190,7 +190,7 @@ export function SiteScan() {
190190
scannedUrlsMaxIndex + 1,
191191
scannableUrls.length,
192192
scannableUrls[scannedUrlsMaxIndex]?.label
193-
)}
193+
)}
194194
</p>
195195
</>
196196
}

assets/src/settings-page/site-scan.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ function SiteScanInProgress() {
297297
scannedUrlsMaxIndex + 1,
298298
scannableUrls.length,
299299
scannableUrls[scannedUrlsMaxIndex]?.label
300-
)}
300+
)}
301301
</p>
302302
</>
303303
);

assets/src/settings-page/supported-templates.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ export function SupportedTemplatesCheckboxes({ supportableTemplates }) {
197197
supportableTemplate.id
198198
)
199199
);
200-
});
200+
});
201201

202202
return (
203203
<ul>

0 commit comments

Comments
 (0)