Skip to content

Commit

Permalink
🚨 fix post lint ts-ignore merge magic
Browse files Browse the repository at this point in the history
  • Loading branch information
ciphrd committed Sep 15, 2022
1 parent ee27d3f commit 286fd02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Charts/Chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export function Chart({ reports, className }: Props) {
// the data needs to be aggregated
const aggregated = useMemo(() => {
// 1. sort the data by date
// @ts-ignore
const sorted = reports.sort(
// @ts-ignore
(a, b) => new Date(a.createdAt) - new Date(b.createdAt)
)
// exclude reports > 12 hours
Expand Down
2 changes: 1 addition & 1 deletion src/components/NFTArticle/elements/Code/CodeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ export function CodeEditor({
</span>
<div contentEditable={false} className={cs(style.code)}>
<Editor
// @ts-ignore
highlight={(code) =>
// @ts-ignore
highlight(
code,
languages[element.lang || "plain"] || languages.plain
Expand Down

0 comments on commit 286fd02

Please sign in to comment.