Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

fix: fix import styles type error

Wenzhao Hu2d5e2c567aa6
diff --git a/packages/sheets-ui/src/views/defined-name/DefinedName.tsx b/packages/sheets-ui/src/views/defined-name/DefinedName.tsx
index 04aae81988..942d7adb67 100644
--- a/packages/sheets-ui/src/views/defined-name/DefinedName.tsx
+++ b/packages/sheets-ui/src/views/defined-name/DefinedName.tsx
@@ -20,7 +20,6 @@ import { MoreDownSingle } from '@univerjs/icons';
import { useDependency } from '@univerjs/ui';
import { useEffect, useState } from 'react';
import { DefinedNameOverlay } from './DefinedNameOverlay';
-import styles from './index.module.less';
export function DefinedName({ disable }: { disable: boolean }) {
const [rangeString, setRangeString] = useState('');
@@ -56,7 +55,7 @@ export function DefinedName({ disable }: { disable: boolean }) {
dark:univer-border-r-gray-700 dark:univer-bg-gray-900 dark:univer-text-white
focus:univer-outline-none
`, {
- [styles.defineNameInputDisable]: disable,
+ 'univer-cursor-not-allowed': disable,
})}
type="text"
value={rangeString}