diff --git a/frontend/search/components/ngo/HostOfferLookupTable.tsx b/frontend/search/components/ngo/HostOfferLookupTable.tsx index 0d8ee01..09cbc6f 100644 --- a/frontend/search/components/ngo/HostOfferLookupTable.tsx +++ b/frontend/search/components/ngo/HostOfferLookupTable.tsx @@ -30,7 +30,7 @@ const columnsRaw: { name: string; header: string; type: string }[] = [ { "name": "contact_email", "header": "contact email", - "type": "object" + "type": "string" }, { "name": "contact_name_full", @@ -60,7 +60,7 @@ const columnsRaw: { name: string; header: string; type: string }[] = [ { "name": "contact_phone", "header": "contact phone", - "type": "object" + "type": "string" }, { "name": "place_zip", diff --git a/frontend/search/package.json b/frontend/search/package.json index b55b0b7..b6a135c 100644 --- a/frontend/search/package.json +++ b/frontend/search/package.json @@ -24,6 +24,7 @@ "i18next": "^21.6.13", "i18next-browser-languagedetector": "^6.1.3", "lodash": "^4.17.21", + "moment": "^2.29.1", "next": "12.1.0", "react": "17.0.2", "react-dom": "17.0.2", diff --git a/frontend/search/yarn.lock b/frontend/search/yarn.lock index 3bfb969..f1b7045 100644 --- a/frontend/search/yarn.lock +++ b/frontend/search/yarn.lock @@ -3961,6 +3961,11 @@ mkdirp@^1.0.4: resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== +moment@^2.29.1: + version "2.29.1" + resolved "https://registry.yarnpkg.com/moment/-/moment-2.29.1.tgz#b2be769fa31940be9eeea6469c075e35006fa3d3" + integrity sha512-kHmoybcPV8Sqy59DwNDY3Jefr64lK/by/da0ViFcuA4DH0vQg5Q6Ze5VimxkfQNSC+Mls/Kx53s7TjP1RhFEDQ== + ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"