Skip to content
This repository has been archived by the owner on Jan 7, 2025. It is now read-only.

Commit

Permalink
Actualize the template
Browse files Browse the repository at this point in the history
  • Loading branch information
heyqbnk committed May 18, 2024
1 parent 9ae960e commit ac3ab12
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 35 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
},
"dependencies": {
"@solidjs/router": "^0.13.3",
"@tma.js/sdk-solid": "^2.1.0",
"@tma.js/solid-router-integration": "^2.0.0",
"@tma.js/sdk-solid": "^2.1.3",
"@tma.js/solid-router-integration": "^3.0.0",
"@tonconnect/ui": "^2.0.2",
"eruda": "^3.0.1",
"solid-js": "^1.8.17"
Expand Down
58 changes: 29 additions & 29 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions src/components/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,12 @@ export function App() {
});
createEffect(() => {
const vp = viewport();
if (vp) {
onCleanup(bindViewportCSSVars(vp));
}
vp && onCleanup(bindViewportCSSVars(vp));
});

// Create new application navigator and attach it to the browser history, so it could modify
// it and listen to its changes.
const navigator = initNavigator('app-navigator-state', { hashMode: 'default' });
const navigator = initNavigator('app-navigator-state');
void navigator.attach();

onCleanup(() => {
Expand Down

0 comments on commit ac3ab12

Please sign in to comment.