Skip to content

Commit 1d739cc

Browse files
committed
secrets pt2
1 parent 0534116 commit 1d739cc

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/static.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: npm run build
3838
env:
3939
REACT_APP_EMAILJS_PUBLIC_KEY: ${{ secrets.EMAILJS_PUBLIC_KEY }}
40-
REACT_APP_EMAILJS_SERVICE: ${{ secrets.EMAILJS_SERVICE }}
40+
REACT_APP_EMAILJS_SERVICEID: ${{ secrets.EMAILJS_SERVICEID }}
4141
REACT_APP_EMAILJS_TEMPLATE: ${{ secrets.EMAILJS_TEMPLATE }}
4242
- name: Setup Pages
4343
uses: actions/configure-pages@v5

src/sections/Contact/ContactSection.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import AccountCircle from "@mui/icons-material/AccountCircle";
77

88
export default function ContactSection() {
99
const template = process.env.REACT_APP_EMAILJS_TEMPLATE;
10-
const publicKey = process.env.REACT_APP_EMAILJS_PUBLICKEY;
10+
const publicKey = process.env.REACT_APP_EMAILJS_PUBLIC_KEY;
1111
const serviceId = process.env.REACT_APP_EMAILJS_SERVICEID;
1212

1313
const [values, setValues] = useState({ name: "", subject: "", message: "" });
@@ -25,10 +25,10 @@ export default function ContactSection() {
2525
},
2626
(error) => {
2727
alert(
28-
"We Ran Into An Error Sending Your Message. Please Try Again Later!",
28+
"We Ran Into An Error Sending Your Message. Please Try Again Later!"
2929
);
3030
console.log(error.text);
31-
},
31+
}
3232
);
3333
};
3434
return (

0 commit comments

Comments
 (0)