-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1615 from woowacourse/feature/1388-essay-answer-list
로드맵 퀴즈 답변 전체 글 필터 구현
- Loading branch information
Showing
36 changed files
with
1,105 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { client } from '.'; | ||
import { FilterResponse } from '../models/filter'; | ||
import { Author } from '../models/Studylogs'; | ||
|
||
export const getMembersForFilter = async (): Promise<Author[]> => { | ||
const { | ||
data: { members }, | ||
} = await client.get<FilterResponse>(`/filters`); | ||
|
||
return members; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 0 additions & 42 deletions
42
frontend/src/components/DropdownMenu/DropdownMenu.styles.tsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
import PropTypes from 'prop-types'; | ||
/** @jsxImportSource @emotion/react */ | ||
|
||
// import PropTypes from 'prop-types'; | ||
import { Container } from './DropdownMenu.styles'; | ||
import { css } from '@emotion/react'; | ||
|
||
const DropdownMenu = ({ children, css }) => { | ||
return <Container css={css}>{children}</Container>; | ||
}; | ||
export interface DropdownMenuProps { | ||
css: ReturnType<typeof css>; | ||
} | ||
|
||
DropdownMenu.propTypes = { | ||
children: PropTypes.node, | ||
const DropdownMenu = ({ children, css }: React.PropsWithChildren<DropdownMenuProps>) => { | ||
return <Container css={css}>{children}</Container>; | ||
}; | ||
|
||
export default DropdownMenu; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.