From 1224f700e528638858f2b3b6f0e991016f495715 Mon Sep 17 00:00:00 2001 From: Roy Johnson Date: Thu, 19 Sep 2024 10:51:38 -0500 Subject: [PATCH] Code review --- src/app/pages/adopters/adopters.tsx | 1 - test/helpers/mock-lazyload.tsx | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/app/pages/adopters/adopters.tsx b/src/app/pages/adopters/adopters.tsx index 72f1b8444..f86ecf134 100644 --- a/src/app/pages/adopters/adopters.tsx +++ b/src/app/pages/adopters/adopters.tsx @@ -11,7 +11,6 @@ type Data = { }; function Adopters({data}: {data: Data[]}) { - console.info('**** DATA', data.slice(0, 10)); return (

Complete list of institutions that have adopted OpenStax

diff --git a/test/helpers/mock-lazyload.tsx b/test/helpers/mock-lazyload.tsx index 8437c45bb..8f843e3c9 100644 --- a/test/helpers/mock-lazyload.tsx +++ b/test/helpers/mock-lazyload.tsx @@ -3,8 +3,6 @@ import React from 'react'; jest.mock('react-lazyload', () => ({ __esModule: true, default: ({children}: React.PropsWithChildren) => { - return ( -
{children}
- ); + return children; } }));