style: auto-fix lint and format
This commit is contained in:
1 parent
69ed608241
commit
302a9f4e54
2 files changed
+2
-14
No files matched your search
@@ -33,12 +33,7 @@ interface AudioStatsContentProps {
|
||||
width: number;
|
||||
}
|
||||
|
||||
export function AudioStatsContent({
|
||||
backend,
|
||||
stats,
|
||||
options,
|
||||
width,
|
||||
}: AudioStatsContentProps) {
|
||||
export function AudioStatsContent({ backend, stats, options, width }: AudioStatsContentProps) {
|
||||
const t = useScopedI18n(AUDIO_STATS_TRANSLATION_SCOPE);
|
||||
const visibleStats = getVisibleStats(backend, options, stats);
|
||||
const compactKey = String(options.compactMode ?? false) as keyof typeof rootClassByCompact;
|
||||
|
||||
@@ -28,12 +28,5 @@ export default function AudioStatsWidget({ integrationIds, options, width }: Wid
|
||||
|
||||
const displayOptions = { ...defaultDisplayOptions, ...options };
|
||||
|
||||
return (
|
||||
<AudioStatsContent
|
||||
backend={response.kind}
|
||||
stats={response.data}
|
||||
options={displayOptions}
|
||||
width={width}
|
||||
/>
|
||||
);
|
||||
return <AudioStatsContent backend={response.kind} stats={response.data} options={displayOptions} width={width} />;
|
||||
}
|
||||
Reference in new issue
Block a user