This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch feat/1.4.0/personal
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
The following commit(s) were added to refs/heads/feat/1.4.0/personal by this
push:
new 6a6ed292 fix: replace share params shareUserId to share
6a6ed292 is described below
commit 6a6ed292adaa7d16550ce53a26e895c725d420a1
Author: shuai <[email protected]>
AuthorDate: Tue Aug 6 15:56:30 2024 +0800
fix: replace share params shareUserId to share
---
ui/src/components/Share/index.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/components/Share/index.tsx
b/ui/src/components/Share/index.tsx
index 203a72d6..392d1fbd 100644
--- a/ui/src/components/Share/index.tsx
+++ b/ui/src/components/Share/index.tsx
@@ -46,7 +46,7 @@ const Index: FC<IProps> = ({ type, qid, aid, title }) => {
? `${BASE_ORIGIN}/questions/${qid}`
: `${BASE_ORIGIN}/questions/${qid}/${aid}`;
if (user.id) {
- baseUrl = `${baseUrl}?shareUserId=${user.username}`;
+ baseUrl = `${baseUrl}?share=${user.username}`;
}
const closeShare = () => {