chore: typos in widget doc

This commit is contained in:
Tristan Yang
2023-03-17 20:57:57 +08:00
parent 790406dbdd
commit f11c758938
+1 -1
View File
@@ -25,7 +25,7 @@ const Row = ({ paramKey, paramDefault, remarks }: { paramKey: string, paramDefau
};
export default function Widget() {
const loginUid = useAppSelector(store => store.authData.user?.uid);
const widgetLink = `${location.origin}/widget.html?hostId=${loginUid}`;
const widgetLink = `${location.origin}/widget.html?host=${loginUid}`;
const { t } = useTranslation("setting", { keyPrefix: "widget" });
const { t: ct } = useTranslation();
const { copied, copy } = useCopy({ enableToast: false });