From d6d5e717d31f8402b047a289f0ed0463018ea0d1 Mon Sep 17 00:00:00 2001 From: Disha Date: Sat, 27 Jan 2024 22:17:21 +0530 Subject: [PATCH] removed: unwanted curly braces --- .../AdvertisementEntry.test.tsx | 84 +++++------ .../AdvertisementRegister.test.tsx | 130 ++++++++---------- .../UserPortal/PromotedPost/PromotedPost.tsx | 2 +- 3 files changed, 97 insertions(+), 119 deletions(-) diff --git a/src/components/Advertisements/core/AdvertisementEntry/AdvertisementEntry.test.tsx b/src/components/Advertisements/core/AdvertisementEntry/AdvertisementEntry.test.tsx index 6148c5bf50..140ef30fa0 100644 --- a/src/components/Advertisements/core/AdvertisementEntry/AdvertisementEntry.test.tsx +++ b/src/components/Advertisements/core/AdvertisementEntry/AdvertisementEntry.test.tsx @@ -54,18 +54,16 @@ describe('Testing Advertisement Entry Component', () => { - { - - } + @@ -191,17 +189,15 @@ describe('Testing Advertisement Entry Component', () => { - { - - } + @@ -262,17 +258,15 @@ describe('Testing Advertisement Entry Component', () => { - { - - } + @@ -317,18 +311,16 @@ describe('Testing Advertisement Entry Component', () => { - { - - } + diff --git a/src/components/Advertisements/core/AdvertisementRegister/AdvertisementRegister.test.tsx b/src/components/Advertisements/core/AdvertisementRegister/AdvertisementRegister.test.tsx index db25a2d516..186c1987d1 100644 --- a/src/components/Advertisements/core/AdvertisementRegister/AdvertisementRegister.test.tsx +++ b/src/components/Advertisements/core/AdvertisementRegister/AdvertisementRegister.test.tsx @@ -102,16 +102,14 @@ describe('Testing Advertisement Register Component', () => { - { - - } + @@ -128,17 +126,15 @@ describe('Testing Advertisement Register Component', () => { - { - - } + @@ -155,16 +151,14 @@ describe('Testing Advertisement Register Component', () => { - { - - } + @@ -187,16 +181,14 @@ describe('Testing Advertisement Register Component', () => { - { - - } + @@ -262,17 +254,15 @@ describe('Testing Advertisement Register Component', () => { - { - - } + @@ -335,16 +325,14 @@ describe('Testing Advertisement Register Component', () => { - { - - } + @@ -368,16 +356,14 @@ describe('Testing Advertisement Register Component', () => { - { - - } + diff --git a/src/components/UserPortal/PromotedPost/PromotedPost.tsx b/src/components/UserPortal/PromotedPost/PromotedPost.tsx index 0bfe9db177..48396ab2d2 100644 --- a/src/components/UserPortal/PromotedPost/PromotedPost.tsx +++ b/src/components/UserPortal/PromotedPost/PromotedPost.tsx @@ -22,7 +22,7 @@ export default function promotedPost( {props.title} {props.title} - {props.media?.includes('data:video') ? ( + {props.media?.includes('videos') ? (