Skip to content

Commit

Permalink
✅ fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesau committed Feb 13, 2024
1 parent 5d170f4 commit 10026dc
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions adminSiteServer/apiRouter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ import { DeployQueueServer } from "../baker/DeployQueueServer.js"
import { FunctionalRouter } from "./FunctionalRouter.js"
import { escape } from "mysql"
import Papa from "papaparse"
import { ExplorerAdminServer } from "../explorerAdminServer/ExplorerAdminServer.js"
import {
postsTable,
setTagsForPost,
Expand All @@ -92,12 +91,10 @@ import { dataSource } from "../db/dataSource.js"
import { createGdocAndInsertOwidGdocPostContent } from "../db/model/Gdoc/archieToGdoc.js"
import { Link } from "../db/model/Link.js"
import { In } from "typeorm"
import { GIT_CMS_DIR } from "../gitCms/GitCmsConstants.js"
import { logErrorAndMaybeSendToBugsnag } from "../serverUtils/errorLog.js"
import { GdocFactory } from "../db/model/Gdoc/GdocFactory.js"

const apiRouter = new FunctionalRouter()
const explorerAdminServer = new ExplorerAdminServer(GIT_CMS_DIR)

// Call this to trigger build and deployment of static charts on change
const triggerStaticBuild = async (user: CurrentUser, commitMessage: string) => {
Expand Down
1 change: 0 additions & 1 deletion adminSiteServer/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ export class OwidAdminApp {
)
})

const adminExplorerServer = new ExplorerAdminServer(GIT_CMS_DIR)
// Public preview of a Gdoc document
app.get("/gdocs/:id/preview", async (req, res) => {
try {
Expand Down
1 change: 0 additions & 1 deletion baker/GrapherBaker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ import {
getMergedGrapherConfigForVariable,
} from "../db/model/Variable.js"
import { getDatapageDataV2, getDatapageGdoc } from "../datapage/Datapage.js"
import { ExplorerProgram } from "../explorer/ExplorerProgram.js"
import { Image } from "../db/model/Image.js"
import { logErrorAndMaybeSendToBugsnag } from "../serverUtils/errorLog.js"

Expand Down
1 change: 0 additions & 1 deletion datapage/Datapage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
getNextUpdateFromVariable,
omitUndefinedValues,
} from "@ourworldindata/utils"
import { ExplorerProgram } from "../explorer/ExplorerProgram.js"
import { GdocPost } from "../db/model/Gdoc/GdocPost.js"
import { GdocFactory } from "../db/model/Gdoc/GdocFactory.js"
import { OwidGoogleAuth } from "../db/OwidGoogleAuth.js"
Expand Down
2 changes: 1 addition & 1 deletion site/gdocs/components/ArticleBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { convertHeadingTextToId } from "@ourworldindata/components"
import SDGGrid from "./SDGGrid.js"
import { BlockErrorBoundary, BlockErrorFallback } from "./BlockErrorBoundary.js"
import { match } from "ts-pattern"
import { renderSpans, useLinkedChart } from "../utils.js"
import { renderSpans } from "../utils.js"
import Paragraph from "./Paragraph.js"
import TableOfContents from "./TableOfContents.js"
import urlSlug from "url-slug"
Expand Down

0 comments on commit 10026dc

Please sign in to comment.