Skip to content

chore: remove apitypings specific go.mod #15899

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Dec 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
assert not null
  • Loading branch information
Emyrk committed Dec 17, 2024
commit 882a248d75e2d0ec3b9c7d528a43fde71fa53e4f
18 changes: 9 additions & 9 deletions site/src/pages/HealthPage/DERPRegionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const DERPRegionPage: FC = () => {
return (
<>
<Helmet>
<title>{pageTitle(region.RegionName, "Health")}</title>
<title>{pageTitle(region!.RegionName, "Health")}</title>
</Helmet>

<Header>
Expand Down Expand Up @@ -70,7 +70,7 @@ export const DERPRegionPage: FC = () => {
</Link>
<HeaderTitle>
<HealthyDot severity={severity as HealthSeverity} />
{region.RegionName}
{region!.RegionName}
</HeaderTitle>
</hgroup>
</Header>
Expand All @@ -91,12 +91,12 @@ export const DERPRegionPage: FC = () => {
<section>
<div css={{ display: "flex", flexWrap: "wrap", gap: 12 }}>
<Tooltip title="Region ID">
<Pill icon={<TagOutlined />}>{region.RegionID}</Pill>
<Pill icon={<TagOutlined />}>{region!.RegionID}</Pill>
</Tooltip>
<Tooltip title="Region Code">
<Pill icon={<CodeOutlined />}>{region.RegionCode}</Pill>
<Pill icon={<CodeOutlined />}>{region!.RegionCode}</Pill>
</Tooltip>
<BooleanPill value={region.EmbeddedRelay}>
<BooleanPill value={region!.EmbeddedRelay}>
Embedded Relay
</BooleanPill>
</div>
Expand All @@ -111,7 +111,7 @@ export const DERPRegionPage: FC = () => {
);
return (
<section
key={node.HostName}
key={node!.HostName}
css={{
border: `1px solid ${theme.palette.divider}`,
borderRadius: 8,
Expand All @@ -120,10 +120,10 @@ export const DERPRegionPage: FC = () => {
>
<header css={reportStyles.header}>
<div>
<h4 css={reportStyles.title}>{node.HostName}</h4>
<h4 css={reportStyles.title}>{node!.HostName}</h4>
<div css={reportStyles.ports}>
<span>DERP Port: {node.DERPPort ?? "None"}</span>
<span>STUN Port: {node.STUNPort ?? "None"}</span>
<span>DERP Port: {node!.DERPPort ?? "None"}</span>
<span>STUN Port: {node!.STUNPort ?? "None"}</span>
</div>
</div>

Expand Down