Skip to content

Commit 08316c0

Browse files
fix: lint
1 parent a9eb1ae commit 08316c0

File tree

2 files changed

+1
-42
lines changed

2 files changed

+1
-42
lines changed

src/components/Nav.svelte

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -136,45 +136,4 @@
136136
</div>
137137
</div>
138138
</div>
139-
140-
<el-disclosure id="mobile-menu" hidden class="block sm:hidden">
141-
<div class="space-y-1 pt-2 pb-3">
142-
<!-- Current: "bg-indigo-50 border-indigo-600 text-indigo-700", Default: "border-transparent text-gray-500 hover:border-gray-300 hover:bg-gray-50 hover:text-gray-700" -->
143-
<a href="#" class="block border-l-4 border-indigo-600 bg-indigo-50 py-2 pr-4 pl-3 text-base font-medium text-indigo-700">Dashboard</a>
144-
<a href="#" class="block border-l-4 border-transparent py-2 pr-4 pl-3 text-base font-medium text-gray-500 hover:border-gray-300 hover:bg-gray-50 hover:text-gray-700">Team</a>
145-
<a href="#" class="block border-l-4 border-transparent py-2 pr-4 pl-3 text-base font-medium text-gray-500 hover:border-gray-300 hover:bg-gray-50 hover:text-gray-700">Projects</a>
146-
<a href="#" class="block border-l-4 border-transparent py-2 pr-4 pl-3 text-base font-medium text-gray-500 hover:border-gray-300 hover:bg-gray-50 hover:text-gray-700">Calendar</a>
147-
</div>
148-
<div class="border-t border-gray-200 pt-4 pb-3">
149-
<div class="flex items-center px-4">
150-
<div class="shrink-0">
151-
<img
152-
src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"
153-
alt=""
154-
class="size-10 rounded-full bg-gray-100 outline -outline-offset-1 outline-black/5"
155-
/>
156-
</div>
157-
<div class="ml-3">
158-
<div class="text-base font-medium text-gray-800">Tom Cook</div>
159-
<div class="text-sm font-medium text-gray-500">tom@example.com</div>
160-
</div>
161-
<button type="button" class="relative ml-auto shrink-0 rounded-full p-1 text-gray-400 hover:text-gray-500 focus:outline-2 focus:outline-offset-2 focus:outline-indigo-600">
162-
<span class="absolute -inset-1.5"></span>
163-
<span class="sr-only">View notifications</span>
164-
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" data-slot="icon" aria-hidden="true" class="size-6">
165-
<path
166-
d="M14.857 17.082a23.848 23.848 0 0 0 5.454-1.31A8.967 8.967 0 0 1 18 9.75V9A6 6 0 0 0 6 9v.75a8.967 8.967 0 0 1-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 0 1-5.714 0m5.714 0a3 3 0 1 1-5.714 0"
167-
stroke-linecap="round"
168-
stroke-linejoin="round"
169-
/>
170-
</svg>
171-
</button>
172-
</div>
173-
<div class="mt-3 space-y-1">
174-
<a href="#" class="block px-4 py-2 text-base font-medium text-gray-500 hover:bg-gray-100 hover:text-gray-800">Your profile</a>
175-
<a href="#" class="block px-4 py-2 text-base font-medium text-gray-500 hover:bg-gray-100 hover:text-gray-800">Settings</a>
176-
<a href="#" class="block px-4 py-2 text-base font-medium text-gray-500 hover:bg-gray-100 hover:text-gray-800">Sign out</a>
177-
</div>
178-
</div>
179-
</el-disclosure>
180139
</nav>

src/lib/hellosave/account.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function writeInt(buf: Uint8Array, offset: number, value: number): void {
5555
*/
5656
async function generateMfFile(slotId: number, formatId: number, payload: Uint8Array, encryptionRounds: number) {
5757
// Generate key
58-
let seed = ((slotId + 2) ^ 0x1422cb8c) >>> 0;
58+
const seed = ((slotId + 2) ^ 0x1422cb8c) >>> 0;
5959
const keyBytes = new Uint8Array([78, 65, 69, 83, 69, 86, 65, 68, 78, 65, 89, 82, 84, 78, 82, 71]);
6060
const key = bytesToWords(keyBytes);
6161
key[0] = (Math.imul(rotateLeft32(seed, 13), 5) + 0xe62ac1e4) >>> 0;

0 commit comments

Comments
 (0)