Skip to content

Commit

Permalink
🐝 fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
danyx23 committed Mar 16, 2024
1 parent f7d9953 commit c5a2b89
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 11 deletions.
1 change: 0 additions & 1 deletion adminSiteClient/GdocsIndexPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import {
buildSearchWordsFromSearchString,
filterFunctionForSearchWords,
spansToUnformattedPlainText,
OwidGdoc,
checkIsGdocPost,
OwidGdocIndexItem,
} from "@ourworldindata/utils"
Expand Down
1 change: 0 additions & 1 deletion adminSiteClient/GdocsPreviewPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ import { openSuccessNotification } from "./gdocsNotifications.js"
import { GdocsDiffButton } from "./GdocsDiffButton.js"
import { GdocsDiff } from "./GdocsDiff.js"
import { BAKED_BASE_URL } from "../settings/clientSettings.js"
import { extractGdocIndexItem } from "@ourworldindata/types/dist/gdocTypes/Gdoc.js"

export const GdocsPreviewPage = ({ match, history }: GdocsMatchProps) => {
const { id } = match.params
Expand Down
7 changes: 1 addition & 6 deletions db/model/Gdoc/GdocBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import {
EnrichedBlockResearchAndWritingLink,
traverseEnrichedSpan,
uniq,
omit,
identity,
OwidGdocBaseInterface,
OwidGdocPublicationContext,
Expand Down Expand Up @@ -53,11 +52,7 @@ import {
getVariableOfDatapageIfApplicable,
} from "../Variable.js"
import { createLinkFromUrl } from "../Link.js"
import {
DbEnrichedPostGdoc,
OwidGdocContent,
OwidGdocType,
} from "@ourworldindata/types"
import { OwidGdocContent, OwidGdocType } from "@ourworldindata/types"
import { KnexReadonlyTransaction } from "../../db"

export class GdocBase implements OwidGdocBaseInterface {
Expand Down
3 changes: 1 addition & 2 deletions db/model/Gdoc/GdocFactory.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { get, groupBy, omit } from "lodash"
import { get, groupBy } from "lodash"
import { match, P } from "ts-pattern"
import {
DATA_INSIGHTS_INDEX_PAGE_SIZE,
Expand Down Expand Up @@ -427,7 +427,6 @@ export async function loadPublishedGdocAuthors(
types: [OwidGdocType.Author],
}
)
const ids = rows.map((row) => row.id)

const enrichedRows = rows.map((row) => {
return {
Expand Down
1 change: 0 additions & 1 deletion packages/@ourworldindata/utils/src/Util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ import {
UserCountryInformation,
Time,
TimeBound,
OwidGdocIndexItem,
} from "@ourworldindata/types"
import { PointVector } from "./PointVector.js"
import React from "react"
Expand Down

0 comments on commit c5a2b89

Please sign in to comment.