diff --git a/adminSiteServer/mockSiteRouter.ts b/adminSiteServer/mockSiteRouter.ts index 1f11d91437..19001c2bd5 100644 --- a/adminSiteServer/mockSiteRouter.ts +++ b/adminSiteServer/mockSiteRouter.ts @@ -189,9 +189,8 @@ getPlainRouteWithROTransaction( const { migrationId, baseQueryStr } = explorerRedirect const { explorerSlug } = explorerUrlMigrationsById[migrationId] - const program = await explorerAdminServer.getExplorerFromSlug( - explorerSlug - ) + const program = + await explorerAdminServer.getExplorerFromSlug(explorerSlug) const explorerPage = await renderExplorerPage(program, trx, { urlMigrationSpec: { explorerUrlMigrationId: migrationId, @@ -473,9 +472,8 @@ getPlainRouteWithROTransaction( "/dods.json", async (_, res, trx) => { res.set("Access-Control-Allow-Origin", "*") - const { details, parseErrors } = await GdocPost.getDetailsOnDemandGdoc( - trx - ) + const { details, parseErrors } = + await GdocPost.getDetailsOnDemandGdoc(trx) if (parseErrors.length) { console.error( diff --git a/baker/GrapherImageBaker.tsx b/baker/GrapherImageBaker.tsx index b4fc04c20e..6f40cff84d 100644 --- a/baker/GrapherImageBaker.tsx +++ b/baker/GrapherImageBaker.tsx @@ -31,9 +31,8 @@ interface SvgFilenameFragments { export async function getGraphersAndRedirectsBySlug( knex: db.KnexReadonlyTransaction ) { - const { graphersBySlug, graphersById } = await getPublishedGraphersBySlug( - knex - ) + const { graphersBySlug, graphersById } = + await getPublishedGraphersBySlug(knex) const redirectQuery = await db.knexRaw< Pick diff --git a/site/multiembedder/MultiEmbedder.tsx b/site/multiembedder/MultiEmbedder.tsx index 17b8cfe9d1..41e89a2727 100644 --- a/site/multiembedder/MultiEmbedder.tsx +++ b/site/multiembedder/MultiEmbedder.tsx @@ -296,10 +296,10 @@ class MultiEmbedder { const embedType: EmbedType = isExplorer ? "explorer" : isMultiDim - ? "multiDim" - : isChartView - ? "chartView" - : "grapher" + ? "multiDim" + : isChartView + ? "chartView" + : "grapher" // Stop observing visibility as soon as possible this.figuresObserver?.unobserve(figure)