This commit is contained in:
Tommy Verrall
2025-04-02 15:44:10 +02:00
parent 38896e6959
commit dbb65259ed
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -672,4 +672,4 @@ api_url = 'https://baz/api'
.unwrap();
assert_eq!(api_url.as_ref(), "https://validator.nymtech.net/api/",);
}
}
}
@@ -2283,4 +2283,4 @@ mod tests {
r"/tmp\saved-wallet-42-3.json".to_string(),
);
}
}
}
@@ -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);
+2 -1
View File
@@ -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