Skip to content

Commit eed366a

Browse files
committed
minor fix
1 parent def7036 commit eed366a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

frontend/app/element/progressbar.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
// Copyright 2024, Command Line Inc.
22
// SPDX-License-Identifier: Apache-2.0
33

4-
import React from "react";
5-
64
import "./progressbar.scss";
75

86
type ProgressBarProps = {
97
progress: number;
108
label?: string;
119
};
1210

13-
const ProgressBar: React.FC<ProgressBarProps> = ({ progress, label = "Progress" }) => {
11+
const ProgressBar = ({ progress, label = "Progress" }: ProgressBarProps) => {
1412
const progressWidth = Math.min(Math.max(progress, 0), 100);
1513

1614
return (

0 commit comments

Comments
 (0)