umwd-components 0.1.85 → 0.1.87

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -80,6 +80,7 @@ function ContactForm(_ref) {
80
80
  const handleSubmit = async e => {
81
81
  e.preventDefault();
82
82
  let isValidForm = validate(formValues);
83
+ console.log("isValidForm", isValidForm);
83
84
  if (Object.keys(isValidForm).length === 0) {
84
85
  const res = await fetch("/api/sendgrid", {
85
86
  body: JSON.stringify({
@@ -32,9 +32,9 @@ function IconSection(_ref) {
32
32
  xs: 12,
33
33
  sm: 6,
34
34
  md: 4,
35
- lg: 3
35
+ lg: 3,
36
+ key: icon.id
36
37
  }, /*#__PURE__*/React.createElement(material.Card, {
37
- key: icon.id,
38
38
  sx: {
39
39
  display: "flex",
40
40
  flexDirection: "column",
@@ -76,6 +76,7 @@ function ContactForm(_ref) {
76
76
  const handleSubmit = async e => {
77
77
  e.preventDefault();
78
78
  let isValidForm = validate(formValues);
79
+ console.log("isValidForm", isValidForm);
79
80
  if (Object.keys(isValidForm).length === 0) {
80
81
  const res = await fetch("/api/sendgrid", {
81
82
  body: JSON.stringify({
@@ -30,9 +30,9 @@ function IconSection(_ref) {
30
30
  xs: 12,
31
31
  sm: 6,
32
32
  md: 4,
33
- lg: 3
33
+ lg: 3,
34
+ key: icon.id
34
35
  }, /*#__PURE__*/React.createElement(Card, {
35
- key: icon.id,
36
36
  sx: {
37
37
  display: "flex",
38
38
  flexDirection: "column",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "umwd-components",
3
- "version": "0.1.85",
3
+ "version": "0.1.87",
4
4
  "description": "UMWD Component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -95,6 +95,7 @@ function ContactForm({ data }: { readonly data: ContactFormProps }) {
95
95
  e.preventDefault();
96
96
 
97
97
  let isValidForm = validate(formValues);
98
+ console.log("isValidForm", isValidForm);
98
99
 
99
100
  if (Object.keys(isValidForm).length === 0) {
100
101
  const res = await fetch("/api/sendgrid", {
@@ -27,9 +27,8 @@ export function IconSection({ data }: { readonly data: IconSectionProps }) {
27
27
  const Icon = getIcon(icon.icon) as React.ElementType | null;
28
28
 
29
29
  return (
30
- <Grid item xs={12} sm={6} md={4} lg={3}>
30
+ <Grid item xs={12} sm={6} md={4} lg={3} key={icon.id}>
31
31
  <Card
32
- key={icon.id}
33
32
  sx={{
34
33
  display: "flex",
35
34
  flexDirection: "column",