mirror of
https://github.com/dergigi/boris.git
synced 2025-12-24 10:04:19 +01:00
style(debug): use regular HTML checkmark instead of FontAwesome icon
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user