Skip to content

Commit 41557ac

Browse files
authored
fix: format code (#659)
1 parent 202a97d commit 41557ac

5 files changed

Lines changed: 16 additions & 6 deletions

File tree

src/App.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import React, { useEffect } from 'react';
22
import { Redirect, Route } from 'react-router-dom';
3-
import { IonApp, IonRouterOutlet, IonSplitPane, setupIonicReact } from '@ionic/react';
3+
import {
4+
IonApp,
5+
IonRouterOutlet,
6+
IonSplitPane,
7+
setupIonicReact,
8+
} from '@ionic/react';
49
import { IonReactRouter } from '@ionic/react-router';
510
import { SplashScreen } from '@capacitor/splash-screen';
611

src/pages/Filesystem.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ import {
1313
IonProgressBar,
1414
} from '@ionic/react';
1515
import React, { useState } from 'react';
16-
import { Filesystem, Directory, Encoding, ProgressStatus } from '@capacitor/filesystem';
16+
import {
17+
Filesystem,
18+
Directory,
19+
Encoding,
20+
ProgressStatus,
21+
} from '@capacitor/filesystem';
1722

1823
interface myCallback {
1924
(path: string): void;

src/pages/LocalNotifications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const LocalNotificationsPage: React.FC = () => {
122122
const checkPermissions = async () => {
123123
const permissions = await ensurePermissions();
124124
setHasPermission(permissions);
125-
}
125+
};
126126

127127
return (
128128
<IonPage>

src/pages/PushNotifications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const PushNotificationsPage: React.FC = () => {
5959
const hasPermission = await ensurePermissions();
6060
setHasPermission(hasPermission);
6161
await register();
62-
}
62+
};
6363

6464
return (
6565
<IonPage>

src/pages/TextZoom.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ const TextZoomPage: React.FC = () => {
3636

3737
const getInitialZoom = async () => {
3838
const { value: level } = await TextZoom.get();
39-
setLevel(level.toString());
40-
}
39+
setLevel(level.toString());
40+
};
4141

4242
const handleLevelInputChange = createEventTargetValueExtractor(setLevel);
4343

0 commit comments

Comments
 (0)