Sha256: 1f027e5ab1ed7bc0431f3ef2825f7cc1f1cb39b06225ecf352de158385e06b08

Contents?: true

Size: 828 Bytes

Versions: 3

Compression:

Stored size: 828 Bytes

Contents

import React from "react";
import ReactDOM from 'react-dom/client';
import App from "./App";
import reportWebVitals from '../reportWebVitals';
import { AuthProvider } from '@descope/react-sdk'
import '../App.css';

document.addEventListener("turbo:load", () => {
    document.body.innerHTML = '<div id="root"></div>';
    const root = ReactDOM.createRoot(document.getElementById("root"));

    root.render(
        <React.StrictMode>
            <AuthProvider projectId={process.env.REACT_APP_PROJECT_ID}>
                <App />
            </AuthProvider>
        </React.StrictMode>
    );
});

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
descope-1.0.6 examples/ruby-on-rails-api/descope/app/javascript/components/index.jsx
descope-1.0.5 examples/ruby-on-rails-api/descope/app/javascript/components/index.jsx
descope-1.0.4 examples/ruby-on-rails-api/descope/app/javascript/components/index.jsx