Skip to content

Commit

Permalink
testing env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jojortz committed Jan 11, 2024
1 parent 4b01970 commit f701dc0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/components/modals/NotifyModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ import emailjs from "@emailjs/browser";
const NotifyModal = () => {
const notifyModal = useNotifyModal();
const [isLoading, setIsLoading] = useState(false);
useEffect(() => emailjs.init(process.env.NEXT_PUBLIC_EMAILJS_PUBLIC_KEY || ""), []);
useEffect(() => {
emailjs.init(process.env.NEXT_PUBLIC_EMAILJS_PUBLIC_KEY || "")
console.log("emailjs initialized", process.env.NEXT_PUBLIC_EMAILJS_PUBLIC_KEY);
}, []);

const {
register,
Expand Down

0 comments on commit f701dc0

Please sign in to comment.