style(debug): use regular HTML checkmark instead of FontAwesome icon

This commit is contained in:
Gigi
2025-10-17 12:29:09 +02:00
parent 93daabc673
commit d7703ceef4

View File

@@ -1,7 +1,7 @@
/* global __APP_VERSION__, __GIT_COMMIT__, __GIT_COMMIT_URL__, __RELEASE_URL__ */
import React, { useEffect, useMemo, useState } from 'react'
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import { faClock, faCheck } from '@fortawesome/free-solid-svg-icons'
import { faClock } from '@fortawesome/free-solid-svg-icons'
import { Hooks } from 'applesauce-react'
import { DebugBus, type DebugLogEntry } from '../utils/debugBus'
@@ -99,7 +99,7 @@ const Debug: React.FC = () => {
<h2 className="text-2xl font-bold mb-2">Bunker Debug</h2>
<div className="flex items-center gap-2 mb-3">
<button className="btn btn-outline" onClick={toggleDebug}>
{debugEnabled && <FontAwesomeIcon icon={faCheck} style={{ marginRight: 6 }} />}
{debugEnabled && <span style={{ marginRight: 6 }}></span>}
{debugEnabled ? 'Hide' : 'Show'} all applesauce debug logs
</button>
<button className="btn btn-secondary" onClick={() => setLogs([])}>Clear logs</button>