mirror of
				https://gitlab.com/comunic/comunicconsole
				synced 2025-11-04 12:14:03 +00:00 
			
		
		
		
	Fix refresh issue
This commit is contained in:
		@@ -241,6 +241,8 @@ export class KeySettingsSection extends React.Component<
 | 
			
		||||
			await AccountHelper.RegisterKey(name, credential);
 | 
			
		||||
 | 
			
		||||
			snackbar("Successfully enrolled a new key!");
 | 
			
		||||
 | 
			
		||||
			this.setState({ counter: this.state.counter + 1 });
 | 
			
		||||
		} catch (e) {
 | 
			
		||||
			console.error(e);
 | 
			
		||||
			matAlert("Failed to register a new key!");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user