File tree Expand file tree Collapse file tree 5 files changed +10
-16
lines changed
components/common/template Expand file tree Collapse file tree 5 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,13 @@ import { styled } from "styled-components";
2
2
import React , { useState , useEffect } from "react" ;
3
3
import { useRecoilState , useRecoilValue } from "recoil" ;
4
4
import Typography from "@mui/material/Typography" ;
5
- import { WidthFull } from "@mui/icons-material" ;
6
5
import {
7
6
templateContent ,
8
7
templatePreviewState ,
9
8
templateState ,
10
9
templateToModal ,
11
10
} from "../../../recoil/templateState" ;
12
11
import MarkdownPreview from "@uiw/react-markdown-preview" ;
13
- import axios from "axios" ;
14
12
15
13
16
14
// props -> type(pr, readme, contributing)
Original file line number Diff line number Diff line change @@ -10,16 +10,12 @@ import List from "@mui/material/List";
10
10
import ListItem from "@mui/material/ListItem" ;
11
11
import ListItemButton from "@mui/material/ListItemButton" ;
12
12
import ListItemText from "@mui/material/ListItemText" ;
13
- import { fontSize } from "@mui/system" ;
14
- import { FixedSizeList } from "react-window" ;
15
13
import axios from "axios" ;
16
- import { PropTypes } from "prop-types" ;
17
14
import {
18
15
templateContent ,
19
16
templatePreviewState ,
20
17
templateSelectState ,
21
18
} from "../../../recoil/templateState" ;
22
- import TemplateTitle from "./TemplateTitle" ;
23
19
24
20
// props -> type(pr, readme, contributing)
25
21
export function TemplateList ( props ) {
Original file line number Diff line number Diff line change 1
1
import { styled } from "styled-components" ;
2
2
import React , { useEffect } from "react" ;
3
3
import { useRecoilState , useRecoilValue } from "recoil" ;
4
- import Button from "@mui/material/Button" ;
5
4
import { templateContent , templateState } from "../recoil/templateState" ;
6
5
import { eachStepState , modalState } from "../recoil/commonState" ;
7
6
import { BaseModal } from "../components/common/modal/BaseModal" ;
8
7
import { TemplateModal } from "../components/common/modal/templateModal" ;
9
8
import MarkdownPreview from "../components/common/MarkdownPreview" ;
10
- import MDEditor from "@uiw/react-md-editor" ;
11
9
12
10
function ContributingTemplatePage ( props ) {
13
11
const [ modalValue , setModalValue ] = useRecoilState (
@@ -20,9 +18,6 @@ function ContributingTemplatePage(props) {
20
18
setStepComplted ( true ) ;
21
19
} , [ ] ) ;
22
20
23
- const handlesave = ( ) => {
24
- } ;
25
-
26
21
const handleOpen = ( ) => setModalValue ( true ) ;
27
22
28
23
return (
Original file line number Diff line number Diff line change 1
- import { styled } from "styled-components" ;
2
1
import React , { useState , useEffect } from "react" ;
3
2
import { useRecoilState , useRecoilValue } from "recoil" ;
4
- import Button from "@mui/material/Button" ;
5
3
import { templateContent } from "../recoil/templateState" ;
6
- import { eachStepState , modalState } from "../recoil/commonState" ;
7
4
import { BaseModal } from "../components/common/modal/BaseModal" ;
5
+ import { eachStepState , modalState } from "../recoil/commonState" ;
8
6
import MarkdownPreview from "../components/common/MarkdownPreview" ;
9
7
import { TemplateModal } from "../components/common/modal/templateModal" ;
10
- import MDEditor from "@uiw/react-md-editor" ;
11
-
8
+ import { styled } from "styled-components" ;
12
9
13
10
function PRTemplatePage ( ) {
14
11
const [ modalValue , setModalValue ] = useRecoilState ( modalState ( "pr" ) ) ;
Original file line number Diff line number Diff line change
1
+ import styled from "styled-components" ;
2
+ import { COLOR } from "../styles/color.js" ;
3
+ import { useRecoilValue } from "recoil" ;
4
+ import { Button } from "@mui/material" ;
5
+ import propTypes from "prop-types" ;
6
+ import { useNavigate } from "react-router-dom" ;
7
+ import { isLogin } from "../../recoil/authorize" ;
8
+
You can’t perform that action at this time.
0 commit comments