mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-04-30 15:27:48 +08:00
Fix: Data-source S3 page style (#12255)
### What problem does this PR solve? Fix: Data-source S3 page style ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@ -71,6 +71,9 @@ export function Segmented({
|
||||
const [selectedValue, setSelectedValue] = React.useState<
|
||||
SegmentedValue | undefined
|
||||
>(value);
|
||||
React.useEffect(() => {
|
||||
setSelectedValue(value);
|
||||
}, [value]);
|
||||
const handleOnChange = (e: SegmentedValue) => {
|
||||
if (onChange) {
|
||||
onChange(e);
|
||||
|
||||
Reference in New Issue
Block a user