{/* Visible content for active tab */}
diff --git a/src/components/NextraSearch/NextraSearch.tsx b/src/components/NextraSearch/NextraSearch.tsx
index dd1d0cbc..d07eff0b 100644
--- a/src/components/NextraSearch/NextraSearch.tsx
+++ b/src/components/NextraSearch/NextraSearch.tsx
@@ -1,7 +1,7 @@
'use client';
-import React from 'react';
import { Search } from 'nextra/components';
+import type React from 'react';
export type NextraSearchProps = {
emptyResult?: React.ReactElement | string;
diff --git a/src/components/OfficeHoursCard/index.tsx b/src/components/OfficeHoursCard/index.tsx
index 5eb03f77..99d745fb 100644
--- a/src/components/OfficeHoursCard/index.tsx
+++ b/src/components/OfficeHoursCard/index.tsx
@@ -1,7 +1,7 @@
'use client';
-import { useEffect, useState } from 'react';
import { IconClock } from '@tabler/icons-react';
+import { useEffect, useState } from 'react';
export const OfficeHoursCard = () => {
const [localTime, setLocalTime] = useState('');
diff --git a/src/components/RpcSelector/index.tsx b/src/components/RpcSelector/index.tsx
index 03a104dc..3a924ef3 100644
--- a/src/components/RpcSelector/index.tsx
+++ b/src/components/RpcSelector/index.tsx
@@ -1,18 +1,7 @@
'use client';
-import React, { useState, useEffect } from 'react';
-import {
- IconExternalLink,
- IconCopy,
- IconCheck,
- IconArrowRight,
- IconSearch,
- IconChevronDown,
- IconServer,
- IconInfoCircle,
- IconChevronUp,
- IconAlertCircle
-} from '@tabler/icons-react';
+import { IconAlertCircle, IconArrowRight, IconCheck, IconChevronDown, IconChevronUp, IconCopy, IconInfoCircle, IconSearch } from '@tabler/icons-react';
+import { useState } from 'react';
type EndpointType = 'public' | 'premium' | 'community';
type Network = 'mainnet' | 'testnet' | 'localnet';
@@ -166,7 +155,7 @@ export function RpcSelector() {
const data = await response.json();
console.log('Response data:', data);
- if (data.error && data.error.message) {
+ if (data.error?.message) {
console.log('Error message found:', data.error.message);
// Extract base height from error message
// Example: "height is not available (requested height: 0, base height: 161939999)"
@@ -251,6 +240,7 @@ export function RpcSelector() {