Temporarily disable new state management

This commit is contained in:
SondreB 2023-05-12 11:17:05 +02:00
parent 1d289f5dab
commit f93fbb3a0e
No known key found for this signature in database
GPG Key ID: D6CC44C75005FDBF
2 changed files with 4 additions and 2 deletions

View File

@ -107,14 +107,14 @@
<mat-icon>bookmarks</mat-icon>
<span *ngIf="displayLabels">{{ 'App.Bookmarks' | translate }}</span>
</a>
<a [routerLink]="['/development']" mat-menu-item (click)="toggleMenu()" [routerLinkActiveOptions]="{ exact: true }" routerLinkActive="active">
<!-- <a [routerLink]="['/development']" mat-menu-item (click)="toggleMenu()" [routerLinkActiveOptions]="{ exact: true }" routerLinkActive="active">
<mat-icon>construction</mat-icon>
<span *ngIf="displayLabels">Development</span>
</a>
<a [routerLink]="['/example']" mat-menu-item (click)="toggleMenu()" [routerLinkActiveOptions]="{ exact: true }" routerLinkActive="active">
<mat-icon>construction</mat-icon>
<span *ngIf="displayLabels">Example</span>
</a>
</a> -->
<a [routerLink]="['/relays']" mat-menu-item (click)="toggleMenu()" [routerLinkActiveOptions]="{ exact: true }" routerLinkActive="active">
<mat-icon>dns</mat-icon>
<span *ngIf="displayLabels">{{ 'App.Relays' | translate }}</span>

View File

@ -9,6 +9,8 @@ export class StateService {
constructor(private state: State) {}
addEvent(event: NostrEvent) {
return;
// TODO: Temporarily removed to avoid building massive in-memory state.
switch (event.kind as any) {
case Kind.Metadata: