Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions src/StepHandler.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint-disable react/no-unknown-property */
import * as React from 'react';
import cls from 'classnames';
import useMobile from '@rc-component/util/lib/hooks/useMobile';
import raf from '@rc-component/util/lib/raf';
import SemanticContext from './SemanticContext';

Expand Down Expand Up @@ -71,11 +70,6 @@ export default function StepHandler({
);

// ======================= Render =======================
const isMobile = useMobile();
if (isMobile) {
return null;
}

const handlerClassName = `${prefixCls}-handler`;

const upClassName = cls(handlerClassName, `${handlerClassName}-up`, {
Expand Down
21 changes: 0 additions & 21 deletions tests/mobile.test.tsx

This file was deleted.

Loading