Skip to content

Commit 5207d0a

Browse files
committed
Added airtable
1 parent 9d74889 commit 5207d0a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/Contact.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ import {
1010
import Airtable from "airtable";
1111

1212
const SECRET_API_TOKEN = process.env.REACT_APP_AIRTABLE_SECRET_API_TOKEN;
13+
const BASE_ID = process.env.REACT_APP_BASE_ID;
1314

14-
const base = new Airtable({ apiKey: SECRET_API_TOKEN }).base("appEMnQzGawihl0o1");
15+
const base = new Airtable({ apiKey: SECRET_API_TOKEN }).base(BASE_ID);
1516

1617
const Contact = () => {
1718
const [data, setData] = useState({

0 commit comments

Comments
 (0)