Skip to content

Commit

Permalink
chore: bump version to v0.1.3 and update Home component logic
Browse files Browse the repository at this point in the history
- Updated version in package.json and tauri.conf.json to 0.1.3.
- Modified Home component to log response and check for missing blinkoEndpoint or blinkoToken before navigating to settings.
  • Loading branch information
blinko-space committed Jan 7, 2025
1 parent 0facbe7 commit 0d36339
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "blinko-snap",
"private": true,
"version": "0.1.2",
"version": "0.1.3",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Blinko Snap",
"version": "0.1.2",
"version": "0.1.3",
"identifier": "com.blinko-snap.app",
"build": {
"beforeDevCommand": "pnpm run dev",
Expand Down
3 changes: 2 additions & 1 deletion src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ export const Home = observer(() => {
useEffect(() => {
try {
blinkoSnap.settings.call().then(res => {
if (res?.blinkoEndpoint || res?.blinkoToken) {
console.log(res)
if (!res?.blinkoEndpoint || !res?.blinkoToken) {
RootStore.Get(BaseStore).navigate('settings')
}
});
Expand Down

0 comments on commit 0d36339

Please sign in to comment.