Skip to content

Commit

Permalink
Merge pull request #110 from Pironeer-APP/feature/109
Browse files Browse the repository at this point in the history
[FIX] 머지  오류 수정
  • Loading branch information
hwanheejung authored Oct 3, 2023
2 parents e5090b4 + da1d0c6 commit 47e084b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
4 changes: 1 addition & 3 deletions src/screens/admin/AdminGradingScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@ const AdminGradingScreen = () => {
const level = route.params.level;
const assignId = route.params.assignId;
const [stdId, setStdId] = useState(0);
const [stdGrade, setStdGrade] = useState(4);
const [stdInfo, setStdInfo] = useState([]);
const [stdGrade, setStdGrade] = useState(null);
const [stdInfo, setStdInfo] = useState([]);

Expand Down Expand Up @@ -250,7 +248,7 @@ const AdminGradingScreen = () => {
<FlatList
data={stdInfo}
renderItem={renderItem}
keyExtractor={item => item.id}
keyExtractor={item => item.studentId}
/>
</View>
</StyledContainer>
Expand Down
1 change: 0 additions & 1 deletion src/screens/admin/AdminUpdateAssign.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ const AdminUpdateAssign = ({route}) => {
const [title, setTitle] = useState(getTitle);
const [date, setDate] = useState(new Date(getDue));

const updateAssign = async date => {
const updateAssign = async () => {
const formattedDate = dayjs(date).format('YYYY-MM-DD HH:mm:ss');

Expand Down

0 comments on commit 47e084b

Please sign in to comment.