From 0f3c3222300bd39a343c6d59f68b8936c50a75b8 Mon Sep 17 00:00:00 2001 From: Brian Pearce Date: Thu, 5 Dec 2024 17:30:10 +0100 Subject: [PATCH] chore: version bump 0.8.7 (#1197) Description --- quick ui fix --------- Co-authored-by: shan <47271333+shanimal08@users.noreply.github.com> --- package-lock.json | 4 ++-- package.json | 2 +- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- .../floating/Settings/sections/p2p/P2PConnectionData.tsx | 2 +- src/containers/floating/Settings/sections/p2p/P2PoolStats.tsx | 4 ++-- src/store/useP2poolStatsStore.ts | 2 +- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index a9b5e7996..7b597e509 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tari-universe", - "version": "0.8.6", + "version": "0.8.7", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "tari-universe", - "version": "0.8.6", + "version": "0.8.7", "dependencies": { "@floating-ui/react": "^0.26.28", "@lottiefiles/dotlottie-react": "^0.10.1", diff --git a/package.json b/package.json index 5002cb071..f2c7f8f60 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tari-universe", "private": true, - "version": "0.8.6", + "version": "0.8.7", "type": "module", "scripts": { "dev": "vite dev --mode development", diff --git a/src-tauri/Cargo.lock b/src-tauri/Cargo.lock index 792333e42..6ec57c9a1 100644 --- a/src-tauri/Cargo.lock +++ b/src-tauri/Cargo.lock @@ -6649,7 +6649,7 @@ dependencies = [ [[package]] name = "tari-universe" -version = "0.8.6" +version = "0.8.7" dependencies = [ "anyhow", "async-trait", diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 6f78538d3..628db7845 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -4,7 +4,7 @@ description = "Tari Universe" edition = "2021" name = "tari-universe" repository = "https://github.com/tari-project/universe" -version = "0.8.6" +version = "0.8.7" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index ee64bec49..97e5f8639 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -8,7 +8,7 @@ }, "package": { "productName": "Tari Universe (Alpha)", - "version": "0.8.6" + "version": "0.8.7" }, "tauri": { "systemTray": { diff --git a/src/containers/floating/Settings/sections/p2p/P2PConnectionData.tsx b/src/containers/floating/Settings/sections/p2p/P2PConnectionData.tsx index 04a4f1bc8..7667b6860 100644 --- a/src/containers/floating/Settings/sections/p2p/P2PConnectionData.tsx +++ b/src/containers/floating/Settings/sections/p2p/P2PConnectionData.tsx @@ -21,7 +21,7 @@ export default function P2PConnectionData() { const [copiedId, setCopiedId] = useState(); const { copyToClipboard } = useCopyToClipboard(); - const connectionInfo = useP2poolStatsStore((s) => s.connection_info); + const connectionInfo = useP2poolStatsStore((s) => s?.connection_info); useEffect(() => { if (copiedId) { diff --git a/src/containers/floating/Settings/sections/p2p/P2PoolStats.tsx b/src/containers/floating/Settings/sections/p2p/P2PoolStats.tsx index 0a2c2851f..3d1a87f22 100644 --- a/src/containers/floating/Settings/sections/p2p/P2PoolStats.tsx +++ b/src/containers/floating/Settings/sections/p2p/P2PoolStats.tsx @@ -23,8 +23,8 @@ export type ConnectedPeerInfoExtended = ConnectedPeerInfo & { const P2PoolStats = () => { const { t } = useTranslation('p2p', { useSuspense: false }); - const connectedSince = useP2poolStatsStore((s) => s.connected_since); - const connectionInfo = useP2poolStatsStore((s) => s.connection_info); + const connectedSince = useP2poolStatsStore((s) => s?.connected_since); + const connectionInfo = useP2poolStatsStore((s) => s?.connection_info); const sha3Stats = useP2poolStatsStore((s) => s?.sha3x_stats); const randomXStats = useP2poolStatsStore((s) => s?.randomx_stats); const peers = useP2poolStatsStore((s) => s?.peers); diff --git a/src/store/useP2poolStatsStore.ts b/src/store/useP2poolStatsStore.ts index bf76c421d..615c1eb85 100644 --- a/src/store/useP2poolStatsStore.ts +++ b/src/store/useP2poolStatsStore.ts @@ -2,7 +2,7 @@ import { invoke } from '@tauri-apps/api'; import { create } from './create'; import { P2poolConnections, P2poolStats, P2poolStatsResult } from '../types/app-status.ts'; -type State = Partial; +type State = Partial & Partial; interface Actions { randomx_stats?: P2poolStats;