make every button that requires an account pop up a login prompt

This commit is contained in:
2026-10-27 08:46:09 +03:00
parent df2a334d7c
commit 3368686201
5 changed files with 32 additions and 10 deletions
+4 -2
View File
@@ -1,13 +1,15 @@
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App'
import { AuthProvider } from './auth'
import { AuthProvider, AuthModalProvider } from './auth'
import './styles.css'
ReactDOM.createRoot(document.getElementById('root')).render(
<React.StrictMode>
<AuthProvider>
<App />
<AuthModalProvider>
<App />
</AuthModalProvider>
</AuthProvider>
</React.StrictMode>
)