Skip to content

Commit 5dd9ce8

Browse files
[getsentry/action-github-commit] Auto commit
1 parent c744e32 commit 5dd9ce8

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/components/platformIcon.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,12 +1075,12 @@ export function PlatformIcon({
10751075

10761076
if (withLanguageIcon && languageIcon !== icon && languageIcon !== 'default') {
10771077
return (
1078-
<div {...otherProps} style={{ position: 'relative', ...style }}>
1078+
<div {...otherProps} style={{position: 'relative', ...style}}>
10791079
<Image
10801080
src={svg}
10811081
width={size}
10821082
height={size}
1083-
style={{ borderRadius: `${radius}px` }}
1083+
style={{borderRadius: `${radius}px`}}
10841084
alt={`${platform} icon`}
10851085
loading="eager"
10861086
/>
@@ -1112,7 +1112,7 @@ export function PlatformIcon({
11121112
{...otherProps}
11131113
placeholder={undefined}
11141114
loading="eager"
1115-
style={{ borderRadius: `${radius}px`, marginTop: 0, marginBottom: 0, ...style }}
1115+
style={{borderRadius: `${radius}px`, marginTop: 0, marginBottom: 0, ...style}}
11161116
alt={`${platform} icon`}
11171117
/>
11181118
);

src/middleware.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { NextRequest } from 'next/server';
2-
import { NextResponse } from 'next/server';
1+
import type {NextRequest} from 'next/server';
2+
import {NextResponse} from 'next/server';
33

44
// This env var is set in next.config.js based on the `NEXT_PUBLIC_DEVELOPER_DOCS` env var at build time
55
// a workaround edge middleware not having access to env vars
@@ -27,7 +27,7 @@ const handleRedirects = (request: NextRequest) => {
2727

2828
const redirectTo = redirectMap.get(urlPath);
2929
if (redirectTo) {
30-
return NextResponse.redirect(new URL(redirectTo, request.url), { status: 301 });
30+
return NextResponse.redirect(new URL(redirectTo, request.url), {status: 301});
3131
}
3232

3333
// If we don't find an exact match, we try to look for a :guide placeholder

0 commit comments

Comments
 (0)