Skip to content

Commit 8ea90ea

Browse files
committed
fix: correct gradio dependency version syntax in pyproject.toml and remove unused React type imports
1 parent 9d9b41a commit 8ea90ea

4 files changed

Lines changed: 1 addition & 4 deletions

File tree

frontend/antd/avatar/Index.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
processProps,
66
} from '@svelte-preprocess-react/component';
77
import { getSlots } from '@svelte-preprocess-react/svelte-contexts/slot.svelte';
8-
import type React from 'react';
98
import type { FileData } from '@gradio/client';
109
import cls from 'classnames';
1110

frontend/antd/badge/Index.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
processProps,
66
} from '@svelte-preprocess-react/component';
77
import { getSlots } from '@svelte-preprocess-react/svelte-contexts/slot.svelte';
8-
import type React from 'react';
98
import cls from 'classnames';
109
1110
const AwaitedBadge = importComponent(() => import('./badge'));

frontend/antd/calendar/Index.svelte

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
processProps,
66
} from '@svelte-preprocess-react/component';
77
import { getSlots } from '@svelte-preprocess-react/svelte-contexts/slot.svelte';
8-
import type React from 'react';
98
import cls from 'classnames';
109
1110
const AwaitedCalender = importComponent(() => import('./calendar'));

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ keywords = [
2323
'gradio-antdx',
2424
]
2525
# Add dependencies here
26-
dependencies = ["6.0=<gradio<=6.8.0"]
26+
dependencies = ["gradio>=6.0,<=6.8.0"]
2727
classifiers = [
2828
'Development Status :: 3 - Alpha',
2929
'License :: OSI Approved :: Apache Software License',

0 commit comments

Comments
 (0)