We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14a8b76 commit 3c6c655Copy full SHA for 3c6c655
src/constants/TryNowData/bootableSoasData.ts
@@ -22,6 +22,8 @@ export interface StepData {
22
export interface steps {
23
heading: string;
24
StepData: StepData[];
25
+ // Optional identifier used by some pages to match logo cards
26
+ is?: string;
27
}
28
29
export const SugarSteps: steps[] = [
src/pages/TryNow/Raspberry.tsx
@@ -52,8 +52,7 @@ const RaspberryPiPage = () => {
52
onClick={() => {
53
const found = raspberrySteps.find(
54
(g) =>
55
- g.heading.toLowerCase().includes(key) ||
56
- (g as any).is === key,
+ g.heading.toLowerCase().includes(key) || g.is === key,
57
);
58
if (found) {
59
setSelectedSteps(found);
0 commit comments