From f63607b010d31f72d8e362d057c6dc98449f67ce Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 27 Apr 2022 04:07:40 -0400 Subject: [PATCH] ignore dynamically generated import [bleh] --- components/fuzzy-bar.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/fuzzy-bar.tsx b/components/fuzzy-bar.tsx index c810e09..8a0bca2 100644 --- a/components/fuzzy-bar.tsx +++ b/components/fuzzy-bar.tsx @@ -2,7 +2,8 @@ import { ChangeEvent, useCallback, useEffect, useRef, useState } from 'react'; import Fuzzy from './_fuzzy'; import pages from '../public/pages.json'; import style from '../styles/fuzzy.module.css'; -import posts from '../public/posts.json' +// @ts-ignore +import posts from '../public/posts.json' // I do not like this function FuzzyBar(): JSX.Element { const searchField = useRef(null);