Skip to content

Commit 4573c73

Browse files
fix: code cleanup (asyncapi#546)
Co-authored-by: TenzDelek <tibetdelek@gmail.com> Co-authored-by: Cody's Dad <40604284+AceTheCreator@users.noreply.github.com>
1 parent da8953b commit 4573c73

File tree

6 files changed

+4
-5
lines changed

6 files changed

+4
-5
lines changed

components/Form/Cfp/stepTwo.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable react/no-unescaped-entities */
2-
import React, { useState, useEffect } from "react";
2+
import React from "react";
33
import Button from "../../Buttons/button";
44

55

components/Header/header.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
12
import React from "react";
23
import Heading from "../Typography/heading";
34
import Paragraph from "../Typography/paragraph";
@@ -54,6 +55,7 @@ function Header() {
5455
</div>
5556
</div>
5657
);
58+
5759
}
5860

5961
export default Header;

components/Slider/slider.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import Slider from 'react-slick';
2-
import Arrow from '../illustration/arrow';
32
import React, { useEffect, useState, useRef } from 'react';
43
import { useMediaQuery } from 'react-responsive';
54

components/Speaker/guideline.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import React, { useState } from 'react'
22
import Plus from '../illustration/plus';
33
import Heading from '../Typography/heading';
44
import Button from '../Buttons/button';
5-
import CFPdata from "../../config/cfp-data.json"
65
const faqs = [
76
{
87
q: 'What is AsyncAPI Conf?',

components/Venue/venue.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function isEventEnded(date){
2020
return getEventStatus(date) === "Ended";
2121
}
2222

23-
function Venue({ className, city }) {
23+
function Venue({ city }) {
2424

2525
const eventEnded = isEventEnded(city.date);
2626
const textColor = eventEnded ? "text-white": "text-white";

pages/venue/online/register/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import Paper from '../../../../components/Form/paper';
22
import Sponsors from "../../../../components/Sponsors/sponsors";
3-
import cfpData from "../../../../config/cfp-data.json"
43

54
export default function SpeakersForm(){
65
return(<div><div className='flex justify-center border border-x-0 border-b-0 border-[#333]'>

0 commit comments

Comments
 (0)