From c339bc8a40e51c284644c793cc5a5745e6b0355b Mon Sep 17 00:00:00 2001 From: craigrbarnes Date: Tue, 10 Dec 2024 16:37:58 -0500 Subject: [PATCH] remove extra pages/pages directory :( --- Dockerfile | 2 ++ src/pages/_app.tsx | 5 ++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 56823e1..a0c0eab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,5 @@ +# docker build -t brhff . +# docker run -p 3000:3000 -it brhff # Build stage FROM node:20-slim AS builder diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 1aafc6b..1af8e8b 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -2,7 +2,7 @@ import App, { AppProps, AppContext, AppInitialProps } from 'next/app'; import React, { useEffect, useRef } from 'react'; import { Faro, FaroErrorBoundary, withFaroProfiler } from '@grafana/faro-react'; -import { initGrafanaFaro } from '../lib/Grafana/grafana'; +import { initGrafanaFaro } from '@/lib/Grafana/grafana'; import { Gen3Provider, @@ -11,7 +11,6 @@ import { RegisteredIcons, Fonts, SessionConfiguration, - // registerCohortDiscoveryApp, registerCohortDiversityApp, registerCohortBuilderDefaultPreviewRenderers, registerExplorerDefaultCellRenderers, @@ -27,7 +26,7 @@ import '@fontsource/poppins'; import { setDRSHostnames } from '@gen3/core'; import drsHostnames from '../../config/drsHostnames.json'; -import { loadContent } from '../lib/content/loadContent'; +import { loadContent } from '@/lib/content/loadContent'; if (typeof window !== 'undefined' && process.env.NODE_ENV !== 'production') { // eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports