Skip to content

Commit 4fdc2ee

Browse files
committed
Fixes Command import
1 parent 6a7f125 commit 4fdc2ee

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/webviews/apps/plus/graph/GraphWrapper.tsx

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import React, { createElement, useEffect, useMemo, useRef, useState } from 'reac
2121
import type { ConnectCloudIntegrationsCommandArgs } from '../../../../commands/cloudIntegrations';
2222
import type { BranchGitCommandArgs } from '../../../../commands/git/branch';
2323
import type { DateStyle, GraphBranchesVisibility } from '../../../../config';
24-
import type { Commands } from '../../../../constants.commands';
24+
import { Commands } from '../../../../constants.commands';
2525
import type { SearchQuery } from '../../../../constants.search';
2626
import type { Subscription } from '../../../../plus/gk/account/subscription';
2727
import { isSubscriptionPaid } from '../../../../plus/gk/account/subscription';
@@ -1146,20 +1146,20 @@ export function GraphWrapper({
11461146
)}
11471147
</div>
11481148
<div className="titlebar__group">
1149-
<GlTooltip placement="bottom">
1150-
<a
1151-
className="action-button"
1152-
href={createCommandLink(Commands.GitCommandsBranch, {
1153-
args: {
1154-
state: {
1155-
subcommand: 'create',
1156-
reference: branch,
1157-
},
1158-
command: 'branch',
1149+
<GlTooltip placement="bottom">
1150+
<a
1151+
className="action-button"
1152+
href={createCommandLink(Commands.GitCommandsBranch, {
1153+
args: {
1154+
state: {
1155+
subcommand: 'create',
1156+
reference: branch,
1157+
},
1158+
command: 'branch',
11591159
confirm: true,
1160-
} satisfies BranchGitCommandArgs,
1161-
})}
1162-
>
1160+
} satisfies BranchGitCommandArgs,
1161+
})}
1162+
>
11631163
<span className="codicon codicon-custom-git-branch-create action-button__icon"></span>
11641164
</a>
11651165
<span slot="content">Create new branch</span>

0 commit comments

Comments
 (0)