 mind maps yet!</h2>
                <p>Generate your first mind map to see it here!</p>
            </div>
        `;
            const clearHistory = document.getElementById('clearHistory');
            clearHistory.style.display = 'none';
            const optionsToggle = document.getElementById('optionsToggle');
            optionsToggle.style.display = 'none';
            return;
        }

        const sortedHistory = [...history].sort((a, b) => {
            const dateA = new Date(a.timestamp);
    