Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
glitch-txs committed Jun 18, 2024
1 parent bce1c24 commit 27ba438
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions apps/laboratory/src/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ export default function App({
}: AppProps<{
session: Session
}>) {

useEffect(()=>{
useEffect(() => {
window.Telegram?.WebApp.ready()
},[])
}, [])

return (
<ChakraProvider>
Expand All @@ -35,4 +34,3 @@ export default function App({
</ChakraProvider>
)
}

2 changes: 1 addition & 1 deletion apps/laboratory/src/pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export default function Document() {
return (
<Html lang="en">
<Head>
<script src="https://telegram.org/js/telegram-web-app.js"></script>
<script src="https://telegram.org/js/telegram-web-app.js"></script>
</Head>
<body>
<ColorModeScript initialColorMode="system" />
Expand Down

0 comments on commit 27ba438

Please sign in to comment.