Skip to content

Commit

Permalink
style: lint 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
Todari committed Oct 21, 2024
1 parent 1c19efa commit adb844b
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions client/src/hooks/useMainSectionBackgroundScroll.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {useEffect, useState} from 'react';
import {useNavigate} from 'react-router-dom';

import {ROUTER_URLS} from '@constants/routerUrls';

const useMainSectionBackgroundScroll = (trackStartCreateEvent: () => void) => {
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/MainPage/MainPage.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import useAmplitude from '@hooks/useAmplitude';
import useMainPageYScroll from '@hooks/useMainPageYScroll';

import Nav from './Nav/Nav';
import {MainSection} from './Section/MainSection';
import {DescriptionSection} from './Section/DescriptionSection';
import {FeatureSection} from './Section/FeatureSection';
import {mainContainer} from './MainPage.style';
import CreatorSection from './Section/CreatorSection/CreatorSection';
import useMainPageYScroll from '@hooks/useMainPageYScroll';

const MainPage = () => {
const {trackStartCreateEvent} = useAmplitude();
Expand Down
3 changes: 2 additions & 1 deletion client/src/pages/MainPage/Section/CreatorSection/Avatar.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import {Text} from '@components/Design';
import {css} from '@emotion/react';

import {Text} from '@components/Design';

interface Props {
imagePath: string;
name: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import {css} from '@emotion/react';
import {useNavigate} from 'react-router-dom';

import Text from '@components/Design/components/Text/Text';

import Avatar from './Avatar';
import {useNavigate} from 'react-router-dom';
import {avatarContainerStyle, partStyle, sectionStyle} from './CreatorSection.style';

const CreatorSection = () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import {css} from '@emotion/react';
import {forwardRef, ForwardedRef} from 'react';

import {SimpleShare} from './SimpleShare';
import {AutoCalculate} from './AutoCalculate';
import {CheckDeposit} from './CheckDeposit';
import {SimpleTransfer} from './SimpleTransfer';
import {RecordMemoryWithPhoto} from './RecordMemoryWithPhoto';
import {css} from '@emotion/react';
import {forwardRef, ForwardedRef} from 'react';

const FeatureSection = forwardRef<HTMLDivElement>((props, ref: ForwardedRef<HTMLDivElement>) => {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import Button from '@HDesign/components/Button/Button';
import Text from '@HDesign/components/Text/Text';

import useMainSectionBackgroundScroll from '@hooks/useMainSectionBackgroundScroll';

import {Icon} from '@components/Design';

import {
Expand All @@ -11,7 +13,6 @@ import {
mainSectionStyle,
sectionStyle,
} from './MainSection.style';
import useMainSectionBackgroundScroll from '@hooks/useMainSectionBackgroundScroll';

type MainSectionProps = {
trackStartCreateEvent: () => void;
Expand Down

0 comments on commit adb844b

Please sign in to comment.