diff --git a/nym-wallet/src-tauri/src/config/mod.rs b/nym-wallet/src-tauri/src/config/mod.rs index 1f79075157..1ba8c2166a 100644 --- a/nym-wallet/src-tauri/src/config/mod.rs +++ b/nym-wallet/src-tauri/src/config/mod.rs @@ -672,4 +672,4 @@ api_url = 'https://baz/api' .unwrap(); assert_eq!(api_url.as_ref(), "https://validator.nymtech.net/api/",); } -} \ No newline at end of file +} diff --git a/nym-wallet/src-tauri/src/wallet_storage/mod.rs b/nym-wallet/src-tauri/src/wallet_storage/mod.rs index 115823da4a..14d295a8a4 100644 --- a/nym-wallet/src-tauri/src/wallet_storage/mod.rs +++ b/nym-wallet/src-tauri/src/wallet_storage/mod.rs @@ -2283,4 +2283,4 @@ mod tests { r"/tmp\saved-wallet-42-3.json".to_string(), ); } -} \ No newline at end of file +} diff --git a/nym-wallet/src/components/CopyToClipboard.tsx b/nym-wallet/src/components/CopyToClipboard.tsx index a58f8ff859..140dc75812 100644 --- a/nym-wallet/src/components/CopyToClipboard.tsx +++ b/nym-wallet/src/components/CopyToClipboard.tsx @@ -1,8 +1,8 @@ import React, { useEffect, useState } from 'react'; import { Button, IconButton, Tooltip } from '@mui/material'; import { Check, ContentCopy } from '@mui/icons-material'; +import { writeText } from '@tauri-apps/plugin-clipboard-manager'; import { Console } from '../utils/console'; -import { writeText, readText } from '@tauri-apps/plugin-clipboard-manager'; export const CopyToClipboard = ({ text = '', iconButton }: { text?: string; iconButton?: boolean }) => { const [copied, setCopied] = useState(false); diff --git a/nym-wallet/src/utils/common.ts b/nym-wallet/src/utils/common.ts index f2da75f177..0aa835aea0 100644 --- a/nym-wallet/src/utils/common.ts +++ b/nym-wallet/src/utils/common.ts @@ -14,7 +14,8 @@ import { userBalance, } from '../requests'; import { Console } from './console'; -const appWindow = getCurrentWebviewWindow() + +const appWindow = getCurrentWebviewWindow(); export const validateKey = (key: string, bytesLength: number): boolean => { // it must be a valid base58 key