mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-08 02:43:06 -05:00
add superhuman view to pmf survey
This commit is contained in:
@@ -8,7 +8,7 @@ interface Props {
|
||||
fieldName: string;
|
||||
}
|
||||
|
||||
export function FbBar({ color, submissions, schema, fieldName }: Props) {
|
||||
function FbBar({ color, submissions, schema, fieldName }: Props) {
|
||||
const data = useMemo(() => {
|
||||
if (!fieldName) {
|
||||
throw Error("no field name provided");
|
||||
|
||||
@@ -8,7 +8,7 @@ interface Props {
|
||||
fieldName: string;
|
||||
}
|
||||
|
||||
export function FbPie({ color, submissions, schema, fieldName }: Props) {
|
||||
function FbPie({ color, submissions, schema, fieldName }: Props) {
|
||||
const data = useMemo(() => {
|
||||
if (!fieldName) {
|
||||
throw Error("no field name provided");
|
||||
|
||||
Reference in New Issue
Block a user