mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-18 19:41:17 -05:00
set previous brand color in onboarding if productname not already changed
This commit is contained in:
@@ -37,6 +37,9 @@ const Product: React.FC<Product> = ({ done, isLoading, environmentId }) => {
|
||||
} else if (product && product.name !== "My Product") {
|
||||
done(); // when product already exists, skip product step entirely
|
||||
} else {
|
||||
if (product) {
|
||||
setColor(product.brandColor);
|
||||
}
|
||||
setLoading(false);
|
||||
}
|
||||
}, [product, done, isLoadingProduct]);
|
||||
|
||||
Reference in New Issue
Block a user