style: auto-fix lint and format
This commit is contained in:
1 parent
d0709a684c
commit
525eda3cbb
8 files changed
+20
-27
No files matched your search
@@ -32,7 +32,9 @@ export default function SpeedtestTrackerWidget({ options, integrationIds }: Widg
|
||||
);
|
||||
|
||||
const twelveHoursAgo = Date.now() - 12 * 60 * 60 * 1000;
|
||||
const recentFiltered = combined.recentResults.filter((result) => new Date(result.created_at).getTime() > twelveHoursAgo);
|
||||
const recentFiltered = combined.recentResults.filter(
|
||||
(result) => new Date(result.created_at).getTime() > twelveHoursAgo,
|
||||
);
|
||||
|
||||
const hasStatSection =
|
||||
(options.showLatestResult && combined.latestResult !== null) || (options.showStats && combined.stats !== null);
|
||||
|
||||
Reference in new issue
Block a user