Skip to content

Commit

Permalink
Fix: Investigation record error in mobile mode
Browse files Browse the repository at this point in the history
  • Loading branch information
AdityaJ2305 committed Nov 8, 2024
1 parent 66ef112 commit ca3d557
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ export default function ViewInvestigationSuggestions(props: {
</tbody>
</table>
<div className="flex flex-col gap-4 md:hidden">
{Array.isArray(investigations) ? (
{Array.isArray(investigations?.investigation) ? (
investigations.investigation?.map((investigation, index) => {
let nextFurthestInvestigation: any = undefined;

Expand Down

0 comments on commit ca3d557

Please sign in to comment.