Lint: comma-spacing (error) & comma-dangle (error) (#4200)

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-11-02 17:38:20 -04:00
1 parent 02e77afcd1
commit c6dce043a7
406 files changed
+1590 -1580

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ function bindClusterManagerRouteEvents() {
reaction(() => getMatchedClusterId(), clusterId => {
broadcastMessage(IpcRendererNavigationEvents.CLUSTER_VIEW_CURRENT_ID, clusterId);
}, {
fireImmediately: true
fireImmediately: true,
});
// Handle navigation via IPC
+1 -1
View File
@@ -57,7 +57,7 @@ export function isActiveRoute(route: string | string[] | RouteProps): boolean {
export function getMatchedClusterId(): string {
const matched = matchPath<ClusterViewRouteParams>(navigation.location.pathname, {
exact: true,
path: clusterViewRoute.path
path: clusterViewRoute.path,
});
return matched?.params.clusterId;