fix: replace colorScheme on Progress with sx workaround for Chakra 2.2.1 type strictness
This commit is contained in:
@@ -211,7 +211,7 @@ const DocumentTranslator: FC = () => {
|
||||
{/* Progress */}
|
||||
{stage === "translating" && (
|
||||
<Box w="full">
|
||||
<Progress value={progress} colorScheme="lingva" borderRadius="full" hasStripe isAnimated />
|
||||
<Progress value={progress} borderRadius="full" hasStripe isAnimated sx={{ "& > div": { background: "var(--chakra-colors-lingva-400)" } }} />
|
||||
<Text fontSize="sm" textAlign="center" mt={1} color="gray.500">
|
||||
Translating… this may take a moment for large documents.
|
||||
</Text>
|
||||
|
||||
Reference in New Issue
Block a user