Skip to content

Commit bb691cf

Browse files
committed
Merge branch '(feat)flutter-dbsym-rework' of https://github.com/getsentry/sentry-docs into (feat)flutter-dbsym-rework
2 parents 089ca3f + dfd0a8e commit bb691cf

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

src/components/debugSymbolConfig/debugSymbolConfig.tsx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ type DebugSymbolConfigProps = {
1414
// Match the pattern used by the onboarding component
1515
const options = [
1616
{
17-
id: 'dsym',
17+
id: 'dsym',
1818
name: 'dSYM',
19-
required: true
19+
required: true,
2020
},
2121
{
22-
id: 'source-maps',
22+
id: 'source-maps',
2323
name: 'Source Maps',
24-
required: false
24+
required: false,
2525
},
2626
{
27-
id: 'source-context',
27+
id: 'source-context',
2828
name: 'Source Context',
29-
required: false
29+
required: false,
3030
},
3131
];
3232

@@ -77,33 +77,33 @@ export function DebugSymbolConfig({defaultOptions = ['dsym']}: DebugSymbolConfig
7777
<div
7878
key={option.id}
7979
className={`flex items-center px-4 py-2 rounded-md text-sm ${
80-
selectedOptions.includes(option.id)
81-
? 'bg-[#6C5FC7] text-white font-semibold'
80+
selectedOptions.includes(option.id)
81+
? 'bg-[#6C5FC7] text-white font-semibold'
8282
: 'bg-[#f4f2f7] text-[#2b1d38]'
8383
} ${option.required ? '' : 'cursor-pointer'}`}
8484
onClick={() => !option.required && handleOptionToggle(option.id)}
8585
style={{
8686
minWidth: '160px',
8787
justifyContent: 'flex-start',
8888
padding: '10px 16px',
89-
borderRadius: '6px'
89+
borderRadius: '6px',
9090
}}
91-
role={option.required ? undefined : "button"}
91+
role={option.required ? undefined : 'button'}
9292
tabIndex={option.required ? undefined : 0}
93-
onKeyDown={(e) => {
93+
onKeyDown={e => {
9494
if (!option.required && (e.key === 'Enter' || e.key === ' ')) {
9595
e.preventDefault();
9696
handleOptionToggle(option.id);
9797
}
9898
}}
9999
>
100100
<span className="mr-2 flex items-center">
101-
<Checkbox
101+
<Checkbox
102102
checked={selectedOptions.includes(option.id)}
103103
onCheckedChange={() => handleOptionToggle(option.id)}
104104
disabled={option.required}
105-
style={{
106-
color: selectedOptions.includes(option.id) ? 'white' : undefined
105+
style={{
106+
color: selectedOptions.includes(option.id) ? 'white' : undefined,
107107
}}
108108
/>
109109
</span>
@@ -119,7 +119,7 @@ export function DebugSymbolConfig({defaultOptions = ['dsym']}: DebugSymbolConfig
119119
<div className="text-white text-xs font-medium">YAML</div>
120120
<div className="flex items-center">
121121
<span className="text-white text-xs mr-3">pubspec.yaml</span>
122-
<button
122+
<button
123123
className="text-white hover:bg-[rgba(255,255,255,0.2)] p-1 rounded"
124124
onClick={handleCopy}
125125
>
@@ -142,4 +142,4 @@ export function DebugSymbolConfig({defaultOptions = ['dsym']}: DebugSymbolConfig
142142
</div>
143143
</div>
144144
);
145-
}
145+
}

0 commit comments

Comments
 (0)