8000 Merge pull request #98 from movindugunarathna/geevinda · movindugunarathna/LandPulse@932b379 · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
Merge pull request #98 from movindugunarathna/geevinda
Browse files Browse the repository at this point in the history
style changes
  • Loading branch information
LuciferDIot authored Mar 17, 2024
2 parents 1532f68 + 4fbf745 commit 932b379
Show file tree
Hide file tree
Showing 5 changed files with 510 additions and 402 deletions.
3 changes: 1 addition & 2 deletions src/app/(ad)/viewAd/[adId]/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export default function ViewAd({ params: { adId } }) {
try {
const post = await getAdvertisementById(adId);
if (post.code === 200) {
toast.success(post.message);
post.data.predict = JSON.parse(post.data.predict);
setAdvertisement(post.data);
console.log(post);
Expand Down Expand Up @@ -67,7 +66,7 @@ export default function ViewAd({ params: { adId } }) {
<p>BACK</p>
</div>
<button
className="py-2 px-4 bg-black hover:bg-opacity-80 text-white font-bold rounded-md leading-10 hover:scale-105 focus:bg-custom-green-100"
className="py-1 px-3 bg-black hover:bg-opacity-80 text-white font-bold rounded-lg leading-10 hover:scale-105 focus:bg-custom-green-100"
onClick={(event) => {
setGrowthClicked(!growthClicked);
}}
Expand Down
Loading

0 comments on commit 932b379

Please sign in to comment.
0