'use client'; import { useEffect } from 'react'; import { devTools } from '@/raydiant-sdk'; export default function RaydiantSDK() { useEffect(() => { if (devTools.isEnabled()) { // Run this in the developer console to set the active region: // devTools.sendMessage('worker-state', { name: 'perchview', state: { activeRegion: 'top-right' } }) (window as any).devTools = devTools; } }, []); return null; }