Skip to content

Commit

Permalink
🔥 Removed some unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Mario-SO committed Aug 12, 2024
1 parent b235737 commit ec29b91
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/app/app/explore/components/ExploreTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const ExploreTabs = () => {
};

return (
<div className=" w-full sticky top-[57px] z-[5] bg-white pt-2 border-b">
<div className="sticky z-[5] bg-white pt-2 border-b">
{showLeftArrow && (
<button
onClick={() => scroll('left')}
Expand Down
8 changes: 1 addition & 7 deletions packages/app/app/explore/components/FeaturedEvents.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import Link from 'next/link';
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from '@/components/ui/card';
import { Card, CardHeader } from '@/components/ui/card';
import Image from 'next/image';

const FeaturedEvents = ({
Expand Down
5 changes: 2 additions & 3 deletions packages/app/app/explore/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { HomePageProps } from '@/lib/types';
import ArchiveVideos from '../[organization]/videos/components/ArchiveVideos';
import { getFeaturedEventsData } from '../../components/misc/FeaturedEventsData';
import FeaturedEvents from './components/FeaturedEvents';
import ExploreTabs from './components/ExploreTabs';
import HomePageNavbar from '@/components/Layout/HomePageNavbar';
import { Suspense } from 'react';

const Home = async ({ searchParams }: HomePageProps) => {
const Explore = async ({ searchParams }: HomePageProps) => {
const featuredEvents = [
{
name: 'EthCC [7]',
Expand Down Expand Up @@ -67,4 +66,4 @@ const Home = async ({ searchParams }: HomePageProps) => {
);
};

export default Home;
export default Explore;

0 comments on commit ec29b91

Please sign in to comment.