diff options
| author | Factiven <[email protected]> | 2023-04-25 16:29:00 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-04-25 16:29:00 +0700 |
| commit | 9b524cd5312dc01f955046f62cd40da26160a327 (patch) | |
| tree | 9f1d172b60d482dea8268742ffce7de1f7aea9ca /components/hero | |
| parent | Update [...id].js (diff) | |
| parent | Merge branch 'main' into pre-production (diff) | |
| download | moopa-9b524cd5312dc01f955046f62cd40da26160a327.tar.xz moopa-9b524cd5312dc01f955046f62cd40da26160a327.zip | |
Merge pull request #1 from DevanAbinaya/pre-production
Merge branch pre-production to main
Diffstat (limited to 'components/hero')
| -rw-r--r-- | components/hero/content.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/hero/content.js b/components/hero/content.js index 1a45860..98ec4a8 100644 --- a/components/hero/content.js +++ b/components/hero/content.js @@ -27,7 +27,7 @@ export default function Content({ ids, section, data }) { // console.log({ left: scrollLeft, right: scrollRight }); const array = data; - let filteredData = array?.filter((item) => item.status !== "Unknown"); + let filteredData = array?.filter((item) => item !== null); return ( <div> <h1 className="px-5 font-karla text-[20px] font-bold">{section}</h1> |