Skip to content

Commit

Permalink
TASK-163 small fixes of reported issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehevi committed Dec 15, 2020
1 parent 65e65d2 commit ea7fd34
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,12 @@ import { SpanErrors } from "./span-errors.component";
import ErrorList from "./error-list.component";

export interface ValidationDrawerOptions {
open;
setOpen;
open: boolean;
setOpen: (boolean) => void;
}

export default function ValidationDrawerComponent(options: ValidationDrawerOptions): JSX.Element {
const open = options.open;
const setOpen = options.setOpen;
const { open, setOpen } = options;
const [mappedErrors, setMappedErrors] = useState<ScheduleErrorMessageModel[]>();
const { scheduleErrors } = useSelector((state: ApplicationStateModel) => state);

Expand Down

0 comments on commit ea7fd34

Please sign in to comment.