Skip to content

Commit

Permalink
Refactor: 메인화면에서만 보이도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ssumai-kr committed Jul 25, 2024
1 parent 4d008be commit 0a09cbf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions components/Lander/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import SearchResults from './SearchResults';
import { useRecoilValue } from 'recoil';
import { mainSearchValueState } from '@/states/mainPageState';
import { useUserData } from '@/hooks/useUserData';
import ViewedActivities from '../ViewedActivities/ViewedActivities';

function Main() {
const [isSearch, setIsSearch] = useState(false);
Expand Down Expand Up @@ -76,6 +77,7 @@ function Main() {
</div>
)}
</div>
<ViewedActivities />
</main>
);
}
Expand Down
2 changes: 1 addition & 1 deletion components/ViewedActivities/ViewedActivity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function ViewedActivity({ bannerImage, title }: ViewedActivityProps) {
className="ml-[10px]"
/>
<div className="mr-[10px] font-sans text-[12px] font-[700] w-[70px] h-[38px] line-clamp-2 overflow-hidden">
[TEST] 체험 제목 체험 제목 체험 제목
[TEST] 체험 제목 체험 제목 체험 제목 체험 제목
</div>
</div>
);
Expand Down
2 changes: 0 additions & 2 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ import { useRouter } from 'next/router';
import SidenNavigationMobile from '@/components/SideNavigation/SideNavigationMobile';
import Theme from '@/components/Theme/Theme';
import TopButton from '@/components/Button/TopButton';
import ViewedActivities from '@/components/ViewedActivities/ViewedActivities';

declare global {
interface Window {
Expand Down Expand Up @@ -75,7 +74,6 @@ export default function App({ Component, pageProps }: AppProps) {
<Modal />
<SidenNavigationMobile />
<SilentRefresh />
<ViewedActivities />
<TopButton />
</QueryClientProvider>
)}
Expand Down

0 comments on commit 0a09cbf

Please sign in to comment.