feat: improved navigation and unified close buttons - version 3.5.0
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 47s

This commit is contained in:
Play Life Bot
2026-01-08 00:02:06 +03:00
parent b1cfea22e6
commit 60a6f4deb4
11 changed files with 326 additions and 93 deletions

View File

@@ -2,7 +2,7 @@ import React, { useState, useEffect } from 'react'
import { useAuth } from './auth/AuthContext'
import './Integrations.css'
function TodoistIntegration({ onBack }) {
function TodoistIntegration({ onNavigate }) {
const { authFetch } = useAuth()
const [connected, setConnected] = useState(false)
const [todoistEmail, setTodoistEmail] = useState('')
@@ -102,7 +102,7 @@ function TodoistIntegration({ onBack }) {
return (
<div className="p-4 md:p-6">
<button className="close-x-button" onClick={onBack} title="Закрыть">
<button className="close-x-button" onClick={() => onNavigate?.('profile')} title="Закрыть">
</button>