bare minimum to fix lint error on main
(#555)
This commit is contained in:
parent
d01d8b7a5e
commit
da7986c1f9
1 changed files with 3 additions and 0 deletions
|
@ -14,6 +14,7 @@ import React, { useState, useEffect, useRef } from "react";
|
||||||
import { validJson } from "@lib/jsonUtils";
|
import { validJson } from "@lib/jsonUtils";
|
||||||
import TimezoneSelect from "react-timezone-select";
|
import TimezoneSelect from "react-timezone-select";
|
||||||
import Text from "@components/ui/Text";
|
import Text from "@components/ui/Text";
|
||||||
|
import ErrorAlert from "@components/ui/alerts/Error";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import utc from "dayjs/plugin/utc";
|
import utc from "dayjs/plugin/utc";
|
||||||
import timezone from "dayjs/plugin/timezone";
|
import timezone from "dayjs/plugin/timezone";
|
||||||
|
@ -555,6 +556,8 @@ export default function Onboarding(props: OnboardingProps) {
|
||||||
Step {currentStep + 1} of {steps.length}
|
Step {currentStep + 1} of {steps.length}
|
||||||
</Text>
|
</Text>
|
||||||
|
|
||||||
|
{error && <ErrorAlert {...error} />}
|
||||||
|
|
||||||
<section className="w-full space-x-2 flex">
|
<section className="w-full space-x-2 flex">
|
||||||
{steps.map((s, index) => {
|
{steps.map((s, index) => {
|
||||||
return index <= currentStep ? (
|
return index <= currentStep ? (
|
||||||
|
|
Loading…
Reference in a new issue