fix: build errors

This commit is contained in:
Piyush Gupta
2023-09-30 11:52:02 +05:30
parent 1815d86f16
commit 9e9c02bc3e

View File

@@ -29,7 +29,7 @@ interface EmailTabProps {
}
export default function EmailTab({ survey, surveyUrl, profile, product }: EmailTabProps) {
const [email, setEmail] = useState(profile.email);
const [email] = useState(profile.email);
const [showEmbed, setShowEmbed] = useState(false);
const brandColor = product.brandColor;
const subject = "Formbricks Email Survey Preview";
@@ -71,7 +71,7 @@ export default function EmailTab({ survey, surveyUrl, profile, product }: EmailT
placeholder="user@mail.com"
className="h-11 grow bg-white"
value={email}
onChange={(e) => {
onChange={() => {
// setEmail(e.target.value)
}}
/>