File tree 4 files changed +7
-24
lines changed
apps/admin/app/studies/[study]/assignments
4 files changed +7
-24
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ const Assignments = ({ params }: { params: { id: string } }) => {
56
56
const headerStyle = css ( {
57
57
width : "100%" ,
58
58
display : "flex" ,
59
+ alignItems : "top" ,
59
60
justifyContent : "space-between" ,
60
61
} ) ;
61
62
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
import { css } from "@styled-system/css" ;
2
2
import { Flex , styled } from "@styled-system/jsx" ;
3
3
import { Text } from "@wow-class/ui" ;
4
+ import Link from "next/link" ;
4
5
import Button from "wowds-ui/Button" ;
5
6
6
7
const Assignments = ( { params } : { params : { id : string } } ) => {
@@ -14,9 +15,11 @@ const Assignments = ({ params }: { params: { id: string } }) => {
14
15
< Button size = "sm" variant = "outline" >
15
16
과제 휴강처리
16
17
</ Button >
17
- < Button size = "sm" variant = "outline" >
18
- 수정
19
- </ Button >
18
+ < Link href = { `${ params . id } /edit` } >
19
+ < Button size = "sm" variant = "outline" >
20
+ 수정
21
+ </ Button >
22
+ </ Link >
20
23
</ Flex >
21
24
</ styled . header >
22
25
< Flex direction = "column" gap = "4rem" >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments