diff --git a/src/components/Common/Button/index.tsx b/src/components/Common/Button/index.tsx
index 7dc4e637d..a4df31150 100644
--- a/src/components/Common/Button/index.tsx
+++ b/src/components/Common/Button/index.tsx
@@ -46,7 +46,7 @@ function Button
(
ref?: React.Ref>
): JSX.Element {
const buttonStyle = [
- 'inline-flex items-center justify-center border border-transparent leading-5 font-medium rounded-md focus:outline-none transition ease-in-out duration-150 cursor-pointer disabled:opacity-50 whitespace-nowrap',
+ 'inline-flex items-center justify-center border leading-5 font-medium rounded-md focus:outline-none transition ease-in-out duration-150 cursor-pointer disabled:opacity-50 whitespace-nowrap',
];
switch (buttonType) {
case 'primary':
@@ -71,7 +71,7 @@ function Button(
break;
case 'ghost':
buttonStyle.push(
- 'text-white bg-transaprent border-gray-600 hover:border-gray-200 focus:border-gray-100 active:border-gray-100'
+ 'text-white bg-transparent border-gray-600 hover:border-gray-200 focus:border-gray-100 active:border-gray-100'
);
break;
default:
diff --git a/src/components/Discover/DiscoverSliderEdit/index.tsx b/src/components/Discover/DiscoverSliderEdit/index.tsx
index 0f97ac572..8c5c36660 100644
--- a/src/components/Discover/DiscoverSliderEdit/index.tsx
+++ b/src/components/Discover/DiscoverSliderEdit/index.tsx
@@ -184,48 +184,52 @@ const DiscoverSliderEdit = ({
/>
)}
-
+
-
- {(slider.type === DiscoverSliderType.TMDB_MOVIE_KEYWORD ||
- slider.type === DiscoverSliderType.TMDB_TV_KEYWORD) && (
-
- {slider.data?.split(',').map((keywordId) => (
-
- ))}
-
- )}
- {(slider.type === DiscoverSliderType.TMDB_NETWORK ||
- slider.type === DiscoverSliderType.TMDB_STUDIO) && (
-
- )}
- {(slider.type === DiscoverSliderType.TMDB_TV_GENRE ||
- slider.type === DiscoverSliderType.TMDB_MOVIE_GENRE) && (
-
- )}
- {slider.type === DiscoverSliderType.TMDB_SEARCH && (
-
}>{slider.data}
- )}
-
+ {slider.data && (
+
+ {(slider.type === DiscoverSliderType.TMDB_MOVIE_KEYWORD ||
+ slider.type === DiscoverSliderType.TMDB_TV_KEYWORD) && (
+
+ {slider.data?.split(',').map((keywordId) => (
+
+ ))}
+
+ )}
+ {(slider.type === DiscoverSliderType.TMDB_NETWORK ||
+ slider.type === DiscoverSliderType.TMDB_STUDIO) && (
+
+ )}
+ {(slider.type === DiscoverSliderType.TMDB_TV_GENRE ||
+ slider.type === DiscoverSliderType.TMDB_MOVIE_GENRE) && (
+
+ )}
+ {slider.type === DiscoverSliderType.TMDB_SEARCH && (
+
}>{slider.data}
+ )}
+
+ )}
{!slider.isBuiltIn && (
<>
@@ -265,7 +269,7 @@ const DiscoverSliderEdit = ({
>
)}
-