fix: remove command prefix from action prefill text

This commit is contained in:
hypercross 2026-07-07 23:32:33 +08:00
parent 779722fe85
commit e6d74cc318
1 changed files with 2 additions and 2 deletions

View File

@ -127,7 +127,7 @@ export const RevealManager: Component = () => {
action: () =>
setActionPrefill({
command: "/spark",
text: `/spark ${combinedSlug}`,
text: combinedSlug,
}),
title: "Roll spark table",
svg: SPARK_SVG,
@ -147,7 +147,7 @@ export const RevealManager: Component = () => {
action: () =>
setActionPrefill({
command: "/link",
text: `/link ${normalized}#${text}`,
text: `${normalized}#${text}`,
}),
title: "Send /link to stream",
svg: LINK_SVG,