Results for '{title}'
+Results for '{title}'
+
{titlesSectionHeading}
@@ -59,7 +58,7 @@ const Results = ({ results, className, title }: Props) => {
)}
{!!people.length && (
- People
+ People
{people.map(person => (
@@ -69,7 +68,7 @@ const Results = ({ results, className, title }: Props) => {
)}
{!!companies.length && (
- Companies
+ Companies
{companies.map(company => (
@@ -79,7 +78,7 @@ const Results = ({ results, className, title }: Props) => {
)}
{!!keywords.length && (
- Keywords
+ Keywords
{keywords.map(keyword => (
diff --git a/src/components/forms/find/index.tsx b/src/components/forms/find/index.tsx
index 2d0a8d1..36855d4 100644
--- a/src/components/forms/find/index.tsx
+++ b/src/components/forms/find/index.tsx
@@ -1,10 +1,9 @@
-import { useRouter } from 'next/router';
import { ChangeEventHandler, FormEventHandler, useRef, useState } from 'react';
-import { cleanQueryStr } from '../../../utils/helpers';
-import { resultTypes, resultTitleTypes } from '../../../utils/constants/find';
-
-import styles from '../../../styles/modules/components/form/find.module.scss';
-import { QueryTypes } from '../../../interfaces/shared/search';
+import { useRouter } from 'next/router';
+import { cleanQueryStr } from 'src/utils/helpers';
+import { QueryTypes } from 'src/interfaces/shared/search';
+import { resultTypes, resultTitleTypes } from 'src/utils/constants/find';
+import styles from 'src/styles/modules/components/form/find.module.scss';
/**
* helper function to render similar radio btns. saves from boilerplate.
@@ -19,11 +18,11 @@ const renderRadioBtns = (
return data.types.map(({ name, val }) => (
@@ -66,30 +65,30 @@ const Form = ({ className }: Props) => {
return (
People
+People
-
{people.map(person => (
Companies
+Companies
-
{companies.map(company => (
Keywords
+Keywords
-
{keywords.map(keyword => (
@@ -66,30 +65,30 @@ const Form = ({ className }: Props) => { return (