🔥 refactor(inputFileComponent): remove unused import of RadialProgressComponent

The import of RadialProgressComponent was removed as it was not being used in the component.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-06-23 10:51:59 -03:00
commit 8cd8449034

View file

@ -5,7 +5,6 @@ import { FileComponentType } from "../../types/components";
import { TabsContext } from "../../contexts/tabsContext"; import { TabsContext } from "../../contexts/tabsContext";
import { INPUT_STYLE } from "../../constants"; import { INPUT_STYLE } from "../../constants";
import { uploadFile } from "../../controllers/API"; import { uploadFile } from "../../controllers/API";
import RadialProgressComponent from "../RadialProgress";
export default function InputFileComponent({ export default function InputFileComponent({
value, value,
@ -118,7 +117,7 @@ export default function InputFileComponent({
<DocumentMagnifyingGlassIcon className="w-8 h-8 hover:text-ring" /> <DocumentMagnifyingGlassIcon className="w-8 h-8 hover:text-ring" />
)} )}
{!editNode && loading && ( {!editNode && loading && (
<span className="loading loading-spinner loading-sm pl-3 w-8 h-8 pointer-events-none"></span> <span className="loading loading-spinner loading-sm pl-3 h-8 pointer-events-none"></span>
)} )}
</button> </button>
</div> </div>