Skip to content

Commit

Permalink
change func name add margin
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadharoun committed Nov 4, 2021
1 parent 3fabdd6 commit 3344af2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/src/components/ImageSection/ImageSection.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import './imageSection.css';

function imageSection({ arr }) {
function ImageSection({ arr }) {
const mainImage = arr[0];
const images = arr.slice(1);
return (
Expand All @@ -25,4 +25,4 @@ function imageSection({ arr }) {
);
}

export default imageSection;
export default ImageSection;
3 changes: 2 additions & 1 deletion client/src/components/ImageSection/imageSection.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@
min-width: 100%;
min-height: 30%;
margin-left:10px;
/* margin-top: 10px; */
margin-bottom: 6px;

}

0 comments on commit 3344af2

Please sign in to comment.