lint
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user