bare minimum to fix lint error on `main` (#555)

pull/553/head^2
Alex Johansson 2021-09-02 17:17:24 +02:00 committed by GitHub
parent d01d8b7a5e
commit da7986c1f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,7 @@ import React, { useState, useEffect, useRef } from "react";
import { validJson } from "@lib/jsonUtils";
import TimezoneSelect from "react-timezone-select";
import Text from "@components/ui/Text";
import ErrorAlert from "@components/ui/alerts/Error";
import dayjs from "dayjs";
import utc from "dayjs/plugin/utc";
import timezone from "dayjs/plugin/timezone";
@ -555,6 +556,8 @@ export default function Onboarding(props: OnboardingProps) {
Step {currentStep + 1} of {steps.length}
</Text>
{error && <ErrorAlert {...error} />}
<section className="w-full space-x-2 flex">
{steps.map((s, index) => {
return index <= currentStep ? (