-
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.
Co-authored-by: WaiNaat <[email protected]> Co-authored-by: gc-park <[email protected]>
- Loading branch information
1 parent
07f89b5
commit ca72aff
Showing
32 changed files
with
500 additions
and
458 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; |
File renamed without changes.
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
121 changes: 0 additions & 121 deletions
121
frontend/src/components/RoadmapFilter/RoadmapFilter.tsx
This file was deleted.
Oops, something went wrong.
18 changes: 0 additions & 18 deletions
18
frontend/src/components/RoadmapFilter/RoadmapSelectedFilter.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
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,8 +1,10 @@ | ||
const REACT_QUERY_KEY = { | ||
STUDYLOG: 'STUDYLOG', | ||
QUIZ: 'QUIZ', | ||
QUIZZES: 'QUIZZES', | ||
ESSAY_ANSWER: 'ESSAY_ANSWER', | ||
QUIZ_ANSWERS: 'QUIZ_ANSWERS', | ||
ESSAY_ANSWER_FILTER_LIST: 'ESSAY_ANSWER_FILTER_LIST', | ||
}; | ||
|
||
export default REACT_QUERY_KEY; |
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
Oops, something went wrong.