Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove usage of TabsPane components as they are marked as deprecated by antd v4 #7150

Closed
MichaelBuessemeyer opened this issue Jun 16, 2023 · 1 comment · Fixed by #7469
Closed

Comments

@MichaelBuessemeyer
Copy link
Contributor

Context

Antd deprecated the use of TabPane for the Tabs component. It needs to be replaced with the items property. You can read more about this including an example here: https://4x.ant.design/components/tabs/.

Expected Behavior

There should not be deprecation warnings about using TabPane in the wk console.

Current Behavior

Currently, there are 7 files using the TabPane component.

Example console warning

Warning: [antd: Tabs] Tabs.TabPane is deprecated. Please use `items` directly. 
Tabs@webpack-internal:///./node_modules/antd/es/tabs/index.js:43:14
div
TaskView@webpack-internal:///./frontend/javascripts/admin/voxelytics/task_view.tsx:35:18
div
....
@philippotto philippotto changed the title Remove usage of TabsPane components as they are marked as depricated by antd v4 Remove usage of TabsPane components as they are marked as deprecated by antd v4 Jun 22, 2023
@hotzenklotz
Copy link
Member

Related to #6861

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants