File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,7 @@ const AppsManager: React.FC = () => {
2828 const [ error , setError ] = useState < string | null > ( null ) ;
2929 const [ lastCreatedNwcUrl , setLastCreatedNwcUrl ] = useState < string | null > (
3030 null
31- ) ; // State for the last NWC URL
32- const [ copySuccess , setCopySuccess ] = useState ( "" ) ; // State for copy feedback
31+ ) ;
3332
3433 useEffect ( ( ) => {
3534 // Fetch existing apps only if we have a token
@@ -108,7 +107,6 @@ const AppsManager: React.FC = () => {
108107 setNewAppName ( "" ) ; // Clear the input field
109108 console . log ( "App created:" , newApp ) ;
110109 setLastCreatedNwcUrl ( newApp . nwcUrl ) ; // Store the NWC URL
111- setCopySuccess ( "" ) ; // Reset copy feedback
112110 } catch ( err ) {
113111 setError (
114112 err instanceof Error ? err . message : "An unknown error occurred"
Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ export function MnemonicManager() {
9494 setShowMnemonic ( true ) ; // Show the section immediately
9595 // setCurrentMnemonic(null); // Removed
9696 setMnemonicError ( null ) ; // Clear previous errors
97- // setMnemonicCopySuccess(""); // Removed
9897 try {
9998 // Use the helper function defined outside, passing the token from context
10099 const mnemonic = await fetchCurrentMnemonic ( token ) ; // Pass token here
You can’t perform that action at this time.
0 commit comments