Skip to content

Commit

Permalink
requested changes
Browse files Browse the repository at this point in the history
Signed-off-by: Aryan Singh <[email protected]>
  • Loading branch information
aryanas159 committed Oct 21, 2023
1 parent 51f399d commit e8cc15d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions components/tools/ToolDashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ export default function ToolDashboard() {
}
}, 1000)
}, [])

// useEffect function to enable the close Category dropdown Modal feature when clicked outside of the modal
useEffect(() => {
const checkIfClickOutside = (e) => {
Expand Down
2 changes: 1 addition & 1 deletion components/tools/ToolsList.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default function toolsList({ toolsData }) {
<div className="" data-testid="ToolsList-main" >
{Object.keys(toolsData).map((categoryName, index) => {
if(toolsData[categoryName].toolsList.length > 0) return (
<div className='my-8' key={index} id={categoryName} style={{scrollMargin: "100px"}}>
<div className='my-8 scroll-m-[100px]' key={index} id={categoryName}>
<Heading typeStyle='heading-md-semibold' className='my-2' >
{categoryName}
</Heading>
Expand Down
1 change: 0 additions & 1 deletion scripts/build-newsroom-videos.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ async function buildNewsroomVideos() {
const videoData = JSON.stringify(videoDataItems, null, ' ');
console.log('The following are the Newsroom Youtube videos: ', videoData)


try {
writeFileSync(
resolve(__dirname, '../config', 'newsroom_videos.json'),
Expand Down

0 comments on commit e8cc15d

Please sign in to comment.