diff --git a/frontend/src/components/modals/ManualSearchModal.tsx b/frontend/src/components/modals/ManualSearchModal.tsx index 2eeedb3b0..879070e8b 100644 --- a/frontend/src/components/modals/ManualSearchModal.tsx +++ b/frontend/src/components/modals/ManualSearchModal.tsx @@ -80,23 +80,6 @@ export const ManualSearchModal: FunctionComponent = ( const columns = useMemo[]>( () => [ - { - accessor: "subtitle", - Cell: ({ row, externalUpdate }) => { - const result = row.original; - return ( - onSelect(item!, result)} - onSuccess={() => externalUpdate && externalUpdate(row)} - > - - - ); - }, - }, { Header: "Score", accessor: (d) => `${d.score}%`, @@ -157,7 +140,7 @@ export const ManualSearchModal: FunctionComponent = ( {display} @@ -181,6 +164,23 @@ export const ManualSearchModal: FunctionComponent = ( return ; }, }, + { + accessor: "subtitle", + Cell: ({ row, externalUpdate }) => { + const result = row.original; + return ( + onSelect(item!, result)} + onSuccess={() => externalUpdate && externalUpdate(row)} + > + + + ); + }, + }, ], [onSelect, item] );