mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 18:30:32 -06:00
bugfix chartjs error
This commit is contained in:
@@ -1,14 +1,7 @@
|
||||
import "chart.js/auto";
|
||||
import { Chart } from "react-chartjs-2";
|
||||
import {
|
||||
Chart as ChartJS,
|
||||
CategoryScale,
|
||||
LinearScale,
|
||||
BarElement,
|
||||
} from "chart.js";
|
||||
import BaseResults from "./BaseResults";
|
||||
|
||||
ChartJS.register(CategoryScale, LinearScale, BarElement);
|
||||
|
||||
export default function ChoiceResults({ element }) {
|
||||
const data = {
|
||||
//labels: element.data.options,
|
||||
|
||||
Reference in New Issue
Block a user