Skip to content

Commit

Permalink
docs: update docsOnlineUrl (#484)
Browse files Browse the repository at this point in the history
  • Loading branch information
ztkuaikuai authored Jan 20, 2025
1 parent 5380eb5 commit 119f992
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .dumi/theme/builtins/Previewer/CodePreviewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const CodePreviewer: React.FC<AntdPreviewerProps> = (props) => {
const { theme } = useContext<SiteContextProps>(SiteContext);

const { hash, pathname, search } = location;
const docsOnlineUrl = `https://ant.design${pathname}${search}#${asset.id}`;
const docsOnlineUrl = `https://ant-design-x.antgroup.com${pathname}${search}#${asset.id}`;

const [showOnlineUrl, setShowOnlineUrl] = useState<boolean>(false);

Expand Down

0 comments on commit 119f992

Please sign in to comment.