Skip to content

Commit 6598c7f

Browse files
ci: apply automated fixes
1 parent 3884346 commit 6598c7f

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

packages/table-devtools/src/components/FeaturesPanel.tsx

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ export function FeaturesPanel() {
184184
.reduce((total, rowModelName) => {
185185
return total + (ROW_MODEL_SIZE_ESTIMATES_BYTES[rowModelName] ?? 0)
186186
}, 0)
187-
const totalEstimatedBundleSize = enabledFeatureEstimate + enabledRowModelEstimate
187+
const totalEstimatedBundleSize =
188+
enabledFeatureEstimate + enabledRowModelEstimate
188189

189190
const renderFeatureItem = (
190191
name: string,
@@ -223,33 +224,34 @@ export function FeaturesPanel() {
223224
<span>{formatEstimatedSize(totalEstimatedBundleSize)}</span>
224225
</div>
225226
<div class={styles().featureEstimateSummaryNote}>
226-
Allocated from the current `size-limit` metric: minified and brotlied.
227+
Allocated from the current `size-limit` metric: minified and
228+
brotlied.
227229
</div>
228230
</div>
229231

230232
<div class={styles().featureSubsection}>
231233
<div class={styles().featureSubsectionTitle}>Core Features</div>
232234
<For each={CORE_FEATURE_NAMES}>
233-
{(name) => (
235+
{(name) =>
234236
renderFeatureItem(
235237
name,
236238
tableFeatures.has(name),
237239
formatEstimatedSize(FEATURE_SIZE_ESTIMATES_BYTES[name]),
238240
)
239-
)}
241+
}
240242
</For>
241243
</div>
242244

243245
<div class={styles().featureSubsection}>
244246
<div class={styles().featureSubsectionTitle}>Stock Features</div>
245247
<For each={STOCK_FEATURE_NAMES}>
246-
{(name) => (
248+
{(name) =>
247249
renderFeatureItem(
248250
name,
249251
tableFeatures.has(name),
250252
formatEstimatedSize(FEATURE_SIZE_ESTIMATES_BYTES[name]),
251253
)
252-
)}
254+
}
253255
</For>
254256
</div>
255257

@@ -259,9 +261,7 @@ export function FeaturesPanel() {
259261
Additional Plugins
260262
</div>
261263
<For each={getAdditionalPlugins()}>
262-
{(name) => (
263-
renderFeatureItem(name, true, 'custom')
264-
)}
264+
{(name) => renderFeatureItem(name, true, 'custom')}
265265
</For>
266266
</div>
267267
)}
@@ -275,7 +275,10 @@ export function FeaturesPanel() {
275275
<For each={rowModelNames}>
276276
{(rowModelName) => {
277277
const fns = getRowModelFunctions(rowModelName)
278-
const rowCount = getRowCountForModel(tableInstance, rowModelName)
278+
const rowCount = getRowCountForModel(
279+
tableInstance,
280+
rowModelName,
281+
)
279282
const sharedLabel = ROW_MODEL_SHARED_SIZE_LABELS[rowModelName]
280283
const estimateLabel =
281284
sharedLabel ??
@@ -305,7 +308,8 @@ export function FeaturesPanel() {
305308
<div class={styles().rowModelItem}>No row models configured</div>
306309
)}
307310
<div class={styles().featureEstimateSummaryNote}>
308-
Full package reference: {formatEstimatedSize(PACKAGE_SIZE_LIMIT_BYTES)}
311+
Full package reference:{' '}
312+
{formatEstimatedSize(PACKAGE_SIZE_LIMIT_BYTES)}
309313
</div>
310314
<div class={styles().rowModelExecutionOrder}>
311315
<div class={styles().featureSubsectionTitle}>Execution Order</div>

0 commit comments

Comments
 (0)