Files
log/oauth/src/main.jsx
2025-07-16 09:32:45 +09:00

10 lines
307 B
JavaScript

import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import './App.css'
// Only mount the OAuth app if the target element exists
const targetElement = document.getElementById('comment-atproto')
if (targetElement) {
ReactDOM.createRoot(targetElement).render(<App />)
}