Some minor clean up

This commit is contained in:
Quantum 2025-02-10 13:44:51 -05:00
parent bd2166e825
commit bd961a5768
2 changed files with 1 additions and 18 deletions

View file

@ -64,22 +64,6 @@
</ul>
</div>
</div>
<div class="card">
<div class="card-body">
<h3 class="card-title" id="what-is-this">How do I use this tool?</h3>
<p class="card-text">To start, simply type or paste in the TOTP secret key. This should be in the standard base32
format. This will generate 6-digit TOTP codes that update every 30 seconds using the SHA-1 algorithm that's used
by default in all major authenticator apps.
</p>
<p class="card-text">You can press "show advanced settings" to adjust the TOTP parameters to use non-default
values.
</p>
<p class="card-text">The generated codes are displayed in chronological order. The current code is shown in large
text. The codes above are past codes, and the codes below are future codes.</p>
<p class="card-text">The settings are stored in the URL hash. You can bookmark the page or copy the link to go
directly to a certain configuration.</p>
</div>
</div>
<div class="card">
<div class="card-body">
<h3 class="card-title" id="how-to-use">How do I use this tool?</h3>

View file

@ -5,8 +5,7 @@ import OTPOutput from './OTPOutput';
import Select from './Select';
import Collapsible from './Collapsible';
import ActionLink from './ActionLink';
import {type State, defaults, serializeState, deserializeState} from './state';
import {HashAlgorithm} from './algorithms.tsx';
import {defaults, serializeState, deserializeState} from './state';
function parseState() {
if (window.location.hash.startsWith('#!')) {