Skip to content

Commit

Permalink
[#5] refactor : prettier 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
JeongBin0227 committed Feb 21, 2021
1 parent c1684d9 commit f7d095e
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/Professor/ProfessorCard/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import './style.scss'

export interface ProfessorCardProps {
export type ProfessorCardProps = {
id: number
position: string
school: string
Expand Down
2 changes: 1 addition & 1 deletion src/components/Professor/ProfessorSearch/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState } from 'react'
import './style.scss'

export interface SearchBarProps {
export type SearchBarProps = {
filterSelector: (value: string) => void
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/Professor/ProfessorSelector/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import './style.scss'

export interface SelectorBarProps {
export type SelectorBarProps = {
selector: string[]
filterSelector: (value: string) => void
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/Professor/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { SelectorBar } from '@/components/Professor/ProfessorSelector'
import { ProfessorCardProps } from '@/components/Professor/ProfessorCard'
import './style.scss'

export type ProfessorProps {
export type ProfessorProps = {
professorsList: ProfessorCardProps[]
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/SideMenuBar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import { Bookmark, BookmarkProps } from '@/components/common/Bookmark'
import './style.scss'

export interface SideMenuBarProps {
export type SideMenuBarProps = {
bookmarkList: BookmarkProps[]
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/Timer/DisplayTime/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useEffect, useState } from 'react'
import './style.scss'

interface DisplayTimeProps {
type DisplayTimeProps = {
currentTime: string
nextTime: string
unit: string
Expand Down
2 changes: 1 addition & 1 deletion src/components/Timer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import React, { useState } from 'react'
import { DisplayTime } from './DisplayTime'
import './style.scss'

export interface TimerProps {
export type TimerProps = {
dateTime: Date
}

Expand Down
2 changes: 1 addition & 1 deletion src/components/TodoContainer/TodoSection/Todo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'
import { getFormattedDate } from '@/utils/time'
import './style.scss'

export interface TodoProps {
export type TodoProps = {
id: number
title: string
dueDate: Date
Expand Down
2 changes: 1 addition & 1 deletion src/components/common/Bookmark/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react'
import './style.scss'

export interface BookmarkProps {
export type BookmarkProps = {
id: number
name: string
url: string
Expand Down

0 comments on commit f7d095e

Please sign in to comment.