Skip to content

Commit 7f92b8b

Browse files
committed
refactor: deleting charts title
1 parent 1f9a1a3 commit 7f92b8b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

components/Charts.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@ import React, { Component, useState } from "react";
44
const Chart = dynamic(() => import("react-apexcharts"), { ssr: false });
55
import { Text, Box, Flex, Icon } from "@chakra-ui/react";
66

7-
const Charts = ({
8-
jmlPendaftar,
9-
dates,
10-
}: {
11-
jmlPendaftar: number[];
12-
dates: string[];
13-
}) => {
7+
const Charts = ({ jmlPendaftar, dates }: { jmlPendaftar: number[]; dates: string[] }) => {
148
return (
159
<>
1610
<Box w={"full"}>
@@ -35,7 +29,6 @@ const Charts = ({
3529
},
3630
},
3731
title: {
38-
text: "Mahasiswa",
3932
align: "left",
4033
style: {
4134
fontSize: "16px",
@@ -61,7 +54,6 @@ const Charts = ({
6154
}}
6255
series={[
6356
{
64-
name: "Mahasiswa",
6557
data: jmlPendaftar,
6658
},
6759
]}

0 commit comments

Comments
 (0)