mirror of
https://github.com/aykhans/slash-e.git
synced 2025-04-16 12:23:12 +00:00
chore: update shortcut name
This commit is contained in:
parent
8a1d7c4646
commit
997aa8cb52
@ -26,7 +26,7 @@ const ShortcutListView: React.FC<Props> = (props: Props) => {
|
||||
|
||||
const handleCopyButtonClick = (shortcut: Shortcut) => {
|
||||
const workspace = workspaceService.getWorkspaceById(workspaceId);
|
||||
copy(`${location.host}/${workspace?.name}/go/${shortcut.name}`);
|
||||
copy(`${location.host}/${workspace?.name}/o/${shortcut.name}`);
|
||||
};
|
||||
|
||||
const handleEditShortcutButtonClick = (shortcut: Shortcut) => {
|
||||
|
@ -62,7 +62,7 @@ const router = createBrowserRouter([
|
||||
},
|
||||
},
|
||||
{
|
||||
path: "/:workspaceName/go/:shortcutName",
|
||||
path: "/:workspaceName/o/:shortcutName",
|
||||
element: <ShortcutRedirector />,
|
||||
loader: async () => {
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user