From 6d3a9aee75d03652b05906fcdd6819e067c340ee Mon Sep 17 00:00:00 2001 From: St3phan Date: Wed, 19 Feb 2020 22:27:46 +0200 Subject: [PATCH] #55: fixed issues --- package.json | 1 + src/components/pages/SearchResult/Content.tsx | 2 +- .../pages/SearchResult/{URLSync.js => URLSync.tsx} | 0 yarn.lock | 5 +++++ 4 files changed, 7 insertions(+), 1 deletion(-) rename src/components/pages/SearchResult/{URLSync.js => URLSync.tsx} (100%) diff --git a/package.json b/package.json index b59927b..85b6fec 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "@types/react": "^16.9.20", "@types/react-instantsearch-dom": "^5.2.6", "@types/react-leaflet": "^2.5.0", + "@types/qs": "^6.9.1", "algoliasearch": "^4.0.3", "dotenv": "^8.2.0", "gatsby": "^2.19.18", diff --git a/src/components/pages/SearchResult/Content.tsx b/src/components/pages/SearchResult/Content.tsx index 15353da..8cef06e 100644 --- a/src/components/pages/SearchResult/Content.tsx +++ b/src/components/pages/SearchResult/Content.tsx @@ -13,7 +13,7 @@ import { import algoliasearch from 'algoliasearch/lite'; import withURLSync from './URLSync'; // @ts-ignore -// import './App.css'; +import './App.css'; const searchClient = algoliasearch(`${process.env.ALGOLIA_APP_ID}`, `${process.env.ALGOLIA_API_KEY}`); // @ts-ignore diff --git a/src/components/pages/SearchResult/URLSync.js b/src/components/pages/SearchResult/URLSync.tsx similarity index 100% rename from src/components/pages/SearchResult/URLSync.js rename to src/components/pages/SearchResult/URLSync.tsx diff --git a/yarn.lock b/yarn.lock index 60d3baa..f17f70e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2164,6 +2164,11 @@ resolved "https://registry.yarnpkg.com/@types/q/-/q-1.5.2.tgz#690a1475b84f2a884fd07cd797c00f5f31356ea8" integrity sha512-ce5d3q03Ex0sy4R14722Rmt6MT07Ua+k4FwDfdcToYJcMKNtRVQvJ6JCAPdAmAnbRb6CsX6aYb9m96NGod9uTw== +"@types/qs@^6.9.1": + version "6.9.1" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.1.tgz#937fab3194766256ee09fcd40b781740758617e7" + integrity sha512-lhbQXx9HKZAPgBkISrBcmAcMpZsmpe/Cd/hY7LGZS5OfkySUBItnPZHgQPssWYUET8elF+yCFBbP1Q0RZPTdaw== + "@types/reach__router@^1.2.6": version "1.3.0" resolved "https://registry.yarnpkg.com/@types/reach__router/-/reach__router-1.3.0.tgz#4c05a947ccecca05c72bb335a0f7bb43fec12446"