Skip to content

Commit

Permalink
Refactor : modify annotation #92
Browse files Browse the repository at this point in the history
  • Loading branch information
ancy0 committed Oct 11, 2023
1 parent 7dbf770 commit a7cf751
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/components/common/modal/FinishDialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const FinishDialog = (props) => {

const [dialogValue, setDialogValue] = useRecoilState(modalState(props.type));

/* POST - repo info for create repository */
// POST - repo info for create repository
async function postCreatRepo() {
try {
const response = await axios.post(
Expand All @@ -48,7 +48,7 @@ export const FinishDialog = (props) => {
}
}

/* POST - file for settings */
// POST - file for settings
async function postRepoData() {
try {
const response = await axios.post(
Expand All @@ -75,7 +75,7 @@ export const FinishDialog = (props) => {
}
}

/* POST - email */
// POST - email
async function postEmail() {
try {
const response = await axios.post(
Expand Down
2 changes: 1 addition & 1 deletion src/components/step1/GitignoreContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
showAllGitignoreState,
} from "../../recoil/repoData";

/* for gitignore */
// for gitignore
export const GitIgnoreContainer = () => {
const [modalValue, setModalValue] = useRecoilState(
modalState("gitignoreModal"),
Expand Down
6 changes: 3 additions & 3 deletions src/components/step1/RequiredFieldContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import { TextInputContainer } from "../common/InputComponent";
import { SelectAuto } from "../common/SelectAuto";
import { repoDataAtomFamily } from "../../recoil/repoData";

/* for Owner, RepoName, Description */
// for Owner, RepoName, Description
export const RequiredFieldContainer = () => {
/* GET - user repo info */
// GET - user repo info
const [owner, setOwner] = useRecoilState(repoDataAtomFamily("owner"));
const [repoName, setRepoName] = useRecoilState(
repoDataAtomFamily("repoName"),
Expand Down Expand Up @@ -52,7 +52,7 @@ export const RequiredFieldContainer = () => {
getUserRepoData();
}, []);

/* POST - validate repo name */
// POST - validate repo name
const [validateCheck, setValidateCheck] = useRecoilState(
repoDataAtomFamily("dupCheck"),
);
Expand Down
6 changes: 3 additions & 3 deletions src/components/step1/SelectContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import axios from "axios";
import { AutocompleteInput } from "../common/Autocomplete";
import { repoDataAtomFamily } from "../../recoil/repoData";

/* for select Language & Framework */
// for select Language & Framework
export const SelectContainer = () => {
/* lang/frame */
// lang/frame
const [selectLang, setSelectLang] = useRecoilState(
repoDataAtomFamily("lang"),
);
Expand All @@ -19,7 +19,7 @@ export const SelectContainer = () => {
const [isSelectLang, setIsSelectLang] = useState(false);
const [disableValue, setDisableValue] = useState(true);

/* GET - Lang/Framework */
// GET - Lang/Framework
const [baseOption, setBaseOption] = useState([
{ language: "", frameworks: {} },
]);
Expand Down

0 comments on commit a7cf751

Please sign in to comment.