Skip to content

Commit 686435b

Browse files
committed
chore(lint): running lint
1 parent 30ac7db commit 686435b

File tree

5 files changed

+9
-36
lines changed

5 files changed

+9
-36
lines changed

static/usage/v9/angular/navigation/angular/app_routes_ts.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,15 @@ export const routes: Routes = [
99
children: [
1010
{
1111
path: 'dashboard',
12-
loadComponent: () =>
13-
import('./dashboard/dashboard-page.component').then((m) => m.DashboardPageComponent),
12+
loadComponent: () => import('./dashboard/dashboard-page.component').then((m) => m.DashboardPageComponent),
1413
},
1514
{
1615
path: 'dashboard/:id',
17-
loadComponent: () =>
18-
import('./item-detail/item-detail-page.component').then((m) => m.ItemDetailPageComponent),
16+
loadComponent: () => import('./item-detail/item-detail-page.component').then((m) => m.ItemDetailPageComponent),
1917
},
2018
{
2119
path: 'settings',
22-
loadComponent: () =>
23-
import('./settings/settings-page.component').then((m) => m.SettingsPageComponent),
20+
loadComponent: () => import('./settings/settings-page.component').then((m) => m.SettingsPageComponent),
2421
},
2522
{
2623
path: '',

static/usage/v9/angular/navigation/angular/dashboard_page_component_html.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<ion-content>
88
<ion-list>
99
@for (item of items; track item.id) {
10-
<ion-item [routerLink]="['/example/dashboard', item.id]">
11-
<ion-label>{{ item.name }}</ion-label>
12-
</ion-item>
10+
<ion-item [routerLink]="['/example/dashboard', item.id]">
11+
<ion-label>{{ item.name }}</ion-label>
12+
</ion-item>
1313
}
1414
</ion-list>
1515
</ion-content>

static/usage/v9/angular/navigation/angular/item_detail_page_component_ts.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,7 @@
11
```ts
22
import { Component, OnInit } from '@angular/core';
33
import { ActivatedRoute } from '@angular/router';
4-
import {
5-
IonBackButton,
6-
IonButtons,
7-
IonContent,
8-
IonHeader,
9-
IonTitle,
10-
IonToolbar,
11-
} from '@ionic/angular/standalone';
4+
import { IonBackButton, IonButtons, IonContent, IonHeader, IonTitle, IonToolbar } from '@ionic/angular/standalone';
125

136
@Component({
147
selector: 'app-item-detail-page',

static/usage/v9/react/navigation/react/dashboard_page_tsx.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
```tsx
22
import React from 'react';
3-
import {
4-
IonContent,
5-
IonHeader,
6-
IonItem,
7-
IonLabel,
8-
IonList,
9-
IonPage,
10-
IonTitle,
11-
IonToolbar,
12-
} from '@ionic/react';
3+
import { IonContent, IonHeader, IonItem, IonLabel, IonList, IonPage, IonTitle, IonToolbar } from '@ionic/react';
134

145
const items = [
156
{ id: '1', name: 'Item One' },

static/usage/v9/react/navigation/react/item_detail_page_tsx.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
```tsx
22
import React from 'react';
3-
import {
4-
IonBackButton,
5-
IonButtons,
6-
IonContent,
7-
IonHeader,
8-
IonPage,
9-
IonTitle,
10-
IonToolbar,
11-
} from '@ionic/react';
3+
import { IonBackButton, IonButtons, IonContent, IonHeader, IonPage, IonTitle, IonToolbar } from '@ionic/react';
124
import { useParams } from 'react-router-dom';
135

146
const ItemDetailPage: React.FC = () => {

0 commit comments

Comments
 (0)