Skip to content

Commit aed5222

Browse files
committed
fix linting issues
1 parent 263c48e commit aed5222

File tree

7 files changed

+33
-6
lines changed

7 files changed

+33
-6
lines changed

src/pages/quickstart/builder/embedded-wallets/angular/steps.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ import qsFileLinks from '../../../../../utils/qs-file-links.json'
22
import STEPS from './stepContent'
33
import { YES } from '../../choices'
44

5-
export default function getSteps(steps, files, replacementAggregator, values = {}) {
5+
export default function getSteps(
6+
steps,
7+
files,
8+
replacementAggregator,
9+
values: Record<string, string> = {}
10+
) {
611
steps.push(
712
{
813
...STEPS.angularQuickStart,

src/pages/quickstart/builder/embedded-wallets/nextjs/steps.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ import qsFileLinks from '../../../../../utils/qs-file-links.json'
22
import STEPS from './stepContent'
33
import { YES } from '../../choices'
44

5-
export default function getSteps(steps, files, replacementAggregator, values = {}) {
5+
export default function getSteps(
6+
steps,
7+
files,
8+
replacementAggregator,
9+
values: Record<string, string> = {}
10+
) {
611
steps.push(
712
{
813
...STEPS.nextjsQuickStart,

src/pages/quickstart/builder/embedded-wallets/react/steps.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ import qsFileLinks from '../../../../../utils/qs-file-links.json'
22
import STEPS from './stepContent'
33
import { YES } from '../../choices'
44

5-
export default function getSteps(steps, files, replacementAggregator, values = {}) {
5+
export default function getSteps(
6+
steps,
7+
files,
8+
replacementAggregator,
9+
values: Record<string, string> = {}
10+
) {
611
steps.push(
712
{
813
...STEPS.reactQuickStart,

src/pages/quickstart/builder/embedded-wallets/react_native/steps.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ import qsFileLinks from '../../../../../utils/qs-file-links.json'
22
import STEPS from './stepContent'
33
import { YES } from '../../choices'
44

5-
export default function getSteps(steps, files, replacementAggregator, values = {}) {
5+
export default function getSteps(
6+
steps,
7+
files,
8+
replacementAggregator,
9+
values: Record<string, string> = {}
10+
) {
611
steps.push(
712
{
813
...STEPS.rnQuickStart,

src/pages/quickstart/builder/embedded-wallets/vue/steps.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ import qsFileLinks from '../../../../../utils/qs-file-links.json'
22
import STEPS from './stepContent'
33
import { YES } from '../../choices'
44

5-
export default function getSteps(steps, files, replacementAggregator, values = {}) {
5+
export default function getSteps(
6+
steps,
7+
files,
8+
replacementAggregator,
9+
values: Record<string, string> = {}
10+
) {
611
steps.push(
712
{
813
...STEPS.vueQuickStart,

src/pages/quickstart/index.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,8 @@ const StepNavigationMenu: React.FC<{
108108
// Fallback: Import files directly from build output if props don't contain them
109109
async function loadFilesDirectly() {
110110
try {
111+
// Use dynamic import to avoid linting issues with build-time generated files
112+
// @ts-ignore - This file is generated at build time
111113
const filesModule = await import(
112114
'../../../.docusaurus/docusaurus-plugin-virtual-files/default/files.json'
113115
)

src/theme/ExampleCards/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import useBaseUrl from '@docusaurus/useBaseUrl'
33

44
import styles from './styles.module.css'
55

6-
import type { ExamplesInterface } from '@site/src/common/maps'
6+
import type { ExamplesInterface } from '@site/src/utils/example-maps'
77

88
const chevron = (
99
<svg width="14" height="14" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">

0 commit comments

Comments
 (0)