-
This is a test network. Coins have no value.
+
+
This is a test network. Coins have no value.
+ @if (stateService.network === 'testnet') {
+
Testnet3 is deprecated, and will soon be replaced by Testnet4
+ }
+
×
diff --git a/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.scss b/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.scss
index ee66d2381..3042d8305 100644
--- a/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.scss
+++ b/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.scss
@@ -7,10 +7,12 @@
display: flex;
justify-content: center;
+ align-items: flex-start;
}
.message-container {
display: flex;
+ flex-direction: column;
margin-left: auto;
}
diff --git a/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.ts b/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.ts
index 99150ef16..0672fd04b 100644
--- a/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.ts
+++ b/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.ts
@@ -1,5 +1,6 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { StorageService } from '../../../services/storage.service';
+import { StateService } from '../../../services/state.service';
@Component({
selector: 'app-testnet-alert',
@@ -11,6 +12,7 @@ export class TestnetAlertComponent {
constructor(
public storageService: StorageService,
+ public stateService: StateService,
) { }
dismissWarning(): void {