import React, { useState } from 'react'; import { toast } from 'react-toastify'; import Cookies from 'js-cookie'; export default function ConnectionsTab() { const [githubUsername, setGithubUsername] = useState(Cookies.get('githubUsername') || ''); const [githubToken, setGithubToken] = useState(Cookies.get('githubToken') || ''); const handleSaveConnection = () => { Cookies.set('githubUsername', githubUsername); Cookies.set('githubToken', githubToken); toast.success('GitHub credentials saved successfully!'); }; return (