From f4ab31ef0cc5ba436c67a46c337c69cc70947b1b Mon Sep 17 00:00:00 2001 From: sggerard Date: Mon, 18 Nov 2024 18:45:34 -0800 Subject: [PATCH] Fix linting & tests --- frontend/src/app/graphql.module.ts | 1 - frontend/src/app/home/home.component.html | 10 +++++----- frontend/src/app/page/page.component.ts | 1 - 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/frontend/src/app/graphql.module.ts b/frontend/src/app/graphql.module.ts index 5906b8d..456ec6c 100644 --- a/frontend/src/app/graphql.module.ts +++ b/frontend/src/app/graphql.module.ts @@ -2,7 +2,6 @@ import { APOLLO_OPTIONS, ApolloModule } from 'apollo-angular'; import { HttpLink } from 'apollo-angular/http'; import { NgModule } from '@angular/core'; import { ApolloClientOptions, InMemoryCache } from '@apollo/client/core'; -import { environment } from 'environments/environment'; const uri = "/graphql" export function createApollo(httpLink: HttpLink): ApolloClientOptions { diff --git a/frontend/src/app/home/home.component.html b/frontend/src/app/home/home.component.html index 36a21a0..22f34ec 100644 --- a/frontend/src/app/home/home.component.html +++ b/frontend/src/app/home/home.component.html @@ -1,7 +1,7 @@
-
+

{{homeData.Title}}

{{homeData.Description}}

@@ -21,11 +21,11 @@

{{homeData.Title}}

-
+
-
+

Fast Facts about the Mining Industry in British Columbia

    @@ -42,7 +42,7 @@

    Fast Facts about the Mining Industry in British Columbia

-
+

Mining in British Columbia

@@ -68,7 +68,7 @@

Find Mines in B.C.

-
+

Our Processes & Procedures

diff --git a/frontend/src/app/page/page.component.ts b/frontend/src/app/page/page.component.ts index 8abac66..f3d14b7 100644 --- a/frontend/src/app/page/page.component.ts +++ b/frontend/src/app/page/page.component.ts @@ -1,7 +1,6 @@ import { afterRender, Component, OnInit, ViewEncapsulation } from '@angular/core'; import { ActivatedRoute } from '@angular/router'; import { Page } from '../models/content/page'; -import { SafeHtmlPipe } from '@app/pipes/safe-html.pipe'; @Component({ selector: 'app-page',