Skip to content

Commit e57bbcb

Browse files
authored
Use VSCodeTags instead of Primer Labels in webview (#1421)
1 parent b311991 commit e57bbcb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

extensions/ql-vscode/src/remote-queries/view/CodePaths.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { TriangleDownIcon, XCircleIcon } from '@primer/octicons-react';
2-
import { ActionList, ActionMenu, Button, Label, Overlay } from '@primer/react';
3-
import { VSCodeLink } from '@vscode/webview-ui-toolkit/react';
2+
import { ActionList, ActionMenu, Button, Overlay } from '@primer/react';
3+
import { VSCodeLink, VSCodeTag } from '@vscode/webview-ui-toolkit/react';
44
import * as React from 'react';
55
import { useRef, useState } from 'react';
66
import styled from 'styled-components';
@@ -60,12 +60,12 @@ const CodePath = ({
6060
</div>
6161
{index === 0 &&
6262
<div style={{ padding: 0, border: 'none' }}>
63-
<Label>Source</Label>
63+
<VSCodeTag>Source</VSCodeTag>
6464
</div>
6565
}
6666
{index === codeFlow.threadFlows.length - 1 &&
6767
<div style={{ padding: 0, border: 'none' }}>
68-
<Label>Sink</Label>
68+
<VSCodeTag>Sink</VSCodeTag>
6969
</div>
7070
}
7171
</div>

0 commit comments

Comments
 (0)