Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: typo

haitao(lj)279d01e6822b
diff --git a/ui/src/components/DiffContent/index.tsx b/ui/src/components/DiffContent/index.tsx
index 922e25c1..d2024a00 100644
--- a/ui/src/components/DiffContent/index.tsx
+++ b/ui/src/components/DiffContent/index.tsx
@@ -1,6 +1,6 @@
import { FC, memo } from 'react';
-import clssnames from 'classnames';
+import classnames from 'classnames';
import { Tag } from '@/components';
import { diffText } from '@/utils';
@@ -90,7 +90,7 @@ const Index: FC<Props> = ({
)}
{objectType === 'tag' && opts?.showTagUrlSlug && (
<div
- className={clssnames(
+ className={classnames(
'fs-14 font-monospace',
newData.original_text && 'mb-4',
)}>