Skip to content

Commit

Permalink
🐝 (svg-tester) remove accidentally committed code
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiamersmann committed Dec 22, 2023
1 parent c3403fa commit 031e3ae
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion devTools/svgTester/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,6 @@ Current : ${validationResult.difference.newSvgFragment}`
export async function parseReferenceCsv(
referenceDir: string
): Promise<SvgRecord[]> {
// todo: wrong type
const pathname = path.join(referenceDir, RESULTS_FILENAME)
const rawContent = await fs.readFile(pathname, "utf-8")
return d3.csvParse(rawContent, (d) => ({
Expand Down
2 changes: 1 addition & 1 deletion packages/@ourworldindata/grapher/src/core/Grapher.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1278,7 +1278,7 @@ export class Grapher
}

@computed get currentTitle(): string {
let text = "test " + this.displayTitle.trim()
let text = this.displayTitle.trim()
const selectedEntityNames = this.selection.selectedEntityNames
const showEntityAnnotation = !this.hideAnnotationFieldsInTitle?.entity
const showTimeAnnotation = !this.hideAnnotationFieldsInTitle?.time
Expand Down

0 comments on commit 031e3ae

Please sign in to comment.