Skip to content

Commit

Permalink
fix: format code (#659)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored Mar 4, 2024
1 parent 202a97d commit 41557ac
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
7 changes: 6 additions & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import React, { useEffect } from 'react';
import { Redirect, Route } from 'react-router-dom';
import { IonApp, IonRouterOutlet, IonSplitPane, setupIonicReact } from '@ionic/react';
import {
IonApp,
IonRouterOutlet,
IonSplitPane,
setupIonicReact,
} from '@ionic/react';
import { IonReactRouter } from '@ionic/react-router';
import { SplashScreen } from '@capacitor/splash-screen';

Expand Down
7 changes: 6 additions & 1 deletion src/pages/Filesystem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ import {
IonProgressBar,
} from '@ionic/react';
import React, { useState } from 'react';
import { Filesystem, Directory, Encoding, ProgressStatus } from '@capacitor/filesystem';
import {
Filesystem,
Directory,
Encoding,
ProgressStatus,
} from '@capacitor/filesystem';

interface myCallback {
(path: string): void;
Expand Down
2 changes: 1 addition & 1 deletion src/pages/LocalNotifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const LocalNotificationsPage: React.FC = () => {
const checkPermissions = async () => {
const permissions = await ensurePermissions();
setHasPermission(permissions);
}
};

return (
<IonPage>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/PushNotifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const PushNotificationsPage: React.FC = () => {
const hasPermission = await ensurePermissions();
setHasPermission(hasPermission);
await register();
}
};

return (
<IonPage>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/TextZoom.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ const TextZoomPage: React.FC = () => {

const getInitialZoom = async () => {
const { value: level } = await TextZoom.get();
setLevel(level.toString());
}
setLevel(level.toString());
};

const handleLevelInputChange = createEventTargetValueExtractor(setLevel);

Expand Down

0 comments on commit 41557ac

Please sign in to comment.