Skip to content

Commit

Permalink
chore(code quality): fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
heyqbnk committed Jun 24, 2024
1 parent 9f072a4 commit 9d5ad50
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 35 deletions.
6 changes: 0 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="theme-color" content="#000000"/>
<title>Telegram Mini App</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet"
>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint:fix": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0 --fix",
"preview": "vite preview",
"predeploy": "pnpm run build"
"predeploy": "npm run build"
},
"dependencies": {
"@telegram-apps/telegram-ui": "^2.1.4",
Expand Down
2 changes: 1 addition & 1 deletion src/components/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const App: FC = () => {
return viewport && bindViewportCSSVars(viewport);
}, [viewport]);

// Create new application navigator and attach it to the browser history, so it could modify
// Create a new application navigator and attach it to the browser history, so it could modify
// it and listen to its changes.
const navigator = useMemo(() => initNavigator('app-navigation-state'), []);
const [location, reactNavigator] = useIntegration(navigator);
Expand Down
8 changes: 0 additions & 8 deletions src/components/Page/Page.css

This file was deleted.

16 changes: 0 additions & 16 deletions src/components/Page/Page.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions src/pages/InitDataPage/InitDataPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const InitDataPage: FC = () => {
style={{ display: 'block', width: '144px', height: '144px' }}
/>
</Placeholder>
)
);
}
return (
<List>
Expand All @@ -97,5 +97,5 @@ export const InitDataPage: FC = () => {
{receiverRows && <DisplayData header={'Receiver'} rows={receiverRows}/>}
{chatRows && <DisplayData header={'Chat'} rows={chatRows}/>}
</List>
)
);
};
3 changes: 2 additions & 1 deletion src/pages/TONConnectPage/TONConnectPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import {
Cell,
List,
Navigation,
Placeholder, Section,
Placeholder,
Section,
Text,
Title,
} from '@telegram-apps/telegram-ui';
Expand Down

0 comments on commit 9d5ad50

Please sign in to comment.