Skip to content

Commit 40d8b22

Browse files
Merge pull request #100 from SashenJayathilaka/myNewBranchs
⚙️ Release AGRG v1.2.0 (#100)
2 parents 15b2eda + 3c64bad commit 40d8b22

5 files changed

Lines changed: 13 additions & 12 deletions

File tree

components/Contents/Badges.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
/* eslint-disable jsx-a11y/alt-text */
2+
/* eslint-disable @next/next/no-img-element */
13
"use client";
24

35
import { Divider } from "@mui/material";

components/Contents/Contact.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,21 @@ function Contact({}: Props) {
5252
label="Your Name"
5353
type="text"
5454
name="name"
55-
value={contactValues.name}
55+
value={details.name}
5656
/>
5757
<InputField
5858
onChange={onChange}
5959
label="Your Twitter Profile Link"
6060
type="text"
6161
name="twitter"
62-
value={contactValues.twitter}
62+
value={details.twitter}
6363
/>
6464
<InputField
6565
onChange={onChange}
6666
label="Your Email Address"
6767
type="text"
6868
name="email"
69-
value={contactValues.email}
69+
value={details.email}
7070
/>
7171
</div>
7272
</div>

components/Contents/Contributing.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function Contributing({}: Props) {
6969
onChange={onChange}
7070
sx={{ color: resolvedTheme === "dark" ? "#fff" : "#000" }}
7171
color="default"
72-
checked={contributingValue.firstValue === "do"}
72+
checked={currentUpdateState.contributing === "do"}
7373
value="do"
7474
name="firstValue"
7575
/>
@@ -81,7 +81,7 @@ function Contributing({}: Props) {
8181
onChange={onChange}
8282
sx={{ color: resolvedTheme === "dark" ? "#fff" : "#000" }}
8383
color="default"
84-
checked={contributingValue.firstValue === "undo"}
84+
checked={currentUpdateState.contributing === "undo"}
8585
value="undo"
8686
name="firstValue"
8787
/>
@@ -105,7 +105,7 @@ function Contributing({}: Props) {
105105
onChange={onChange}
106106
sx={{ color: resolvedTheme === "dark" ? "#fff" : "#000" }}
107107
color="default"
108-
checked={contributingValue.secondValue === "do"}
108+
checked={currentUpdateState.codeOfConduct === "do"}
109109
value="do"
110110
name="secondValue"
111111
/>
@@ -117,7 +117,7 @@ function Contributing({}: Props) {
117117
onChange={onChange}
118118
sx={{ color: resolvedTheme === "dark" ? "#fff" : "#000" }}
119119
color="default"
120-
checked={contributingValue.secondValue === "undo"}
120+
checked={currentUpdateState.codeOfConduct === "undo"}
121121
value="undo"
122122
name="secondValue"
123123
/>

components/Contents/License.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function License({}: Props) {
4444
onChange={(e) => setLicense(e.target.value)}
4545
sx={{ color: resolvedTheme === "dark" ? "#fff" : "#000" }}
4646
color="default"
47-
checked={license === "do"}
47+
checked={stateValue.licenseValue === "do"}
4848
value="do"
4949
name="firstValue"
5050
/>

components/FormContainer.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable react-hooks/exhaustive-deps */
12
"use client";
23

34
import {
@@ -15,7 +16,6 @@ import { MdRestore } from "react-icons/md";
1516
import { TbWorldWww } from "react-icons/tb";
1617

1718
import AboutProject from "./Contents/AboutProject";
18-
import Badges from "./Contents/Badges";
1919
import ColorReference from "./Contents/ColorReference";
2020
import EnvironmentVariables from "./Contents/EnvironmentVariables";
2121
import Features from "./Contents/Features";
@@ -24,7 +24,6 @@ import TechStack from "./Contents/TechStack";
2424
import DividerLine from "./DividerLine";
2525
import Heading from "./Heading";
2626
import InputField from "./InputField";
27-
import TechnologiesContent from "./TechnologiesContent";
2827

2928
type Props = {
3029
setIsReadmeRow: (value: any) => void;
@@ -208,8 +207,8 @@ function FormContainer({
208207
name="websiteLink"
209208
value={displayBadges.websiteLink}
210209
/>
211-
<DividerLine />
212-
<Badges onChangeGitHubBadges={onChangeGitHubBadges} />
210+
{/* <DividerLine />
211+
<Badges onChangeGitHubBadges={onChangeGitHubBadges} /> */}
213212
</div>
214213
<DividerLine />
215214
<AboutProject />

0 commit comments

Comments
 (0)