Skip to content

Commit

Permalink
unfixable
Browse files Browse the repository at this point in the history
  • Loading branch information
turbocrime committed Jul 10, 2024
1 parent a1dd6e7 commit ba32d20
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion apps/minifront/src/components/footer/rights-message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export const RightsMessage = () => {
<br />
<a
target='_blank'
rel='noreferrer'
rel='noopener noreferrer'
className='underline'
href='https://www.coincenter.org/electronic-cash-decentralized-exchange-and-the-constitution/'
>
Expand Down
2 changes: 1 addition & 1 deletion apps/minifront/src/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { HeadTag } from './metadata/head-tag';
import { Header } from './header/header';
import { Toaster } from '@repo/ui/components/ui/toaster';
import { Footer } from './footer/footer';
import '@repo/ui/styles/globals.css';
import { MotionConfig } from 'framer-motion';
import '@repo/ui/styles/globals.css';

export const Layout = () => {
return (
Expand Down
8 changes: 3 additions & 5 deletions packages/storage/src/indexed-db/updater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,13 @@ export class IbdUpdater {
subscribe<DBTypes extends PenumbraDb, StoreName extends StoreNames<DBTypes>>(
table: StoreName,
): AsyncGenerator<IdbUpdate<DBTypes, StoreName>, void> {
// Need a local binding
// eslint-disable-next-line @typescript-eslint/no-this-alias
const bind = this;
const localSubscribers = this.subscribers;
const subscriber = async function* () {
while (true) {
const update = await new Promise<IdbUpdate<DBTypes, StoreName>>(resolve => {
const resolversForTable = bind.subscribers.get(table) ?? [];
const resolversForTable = localSubscribers.get(table) ?? [];
resolversForTable.push(resolve as Resolver);
bind.subscribers.set(table, resolversForTable);
localSubscribers.set(table, resolversForTable);
});
yield update;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use client';

import type { ReactNode, ButtonHTMLAttributes } from 'react';
import { useState, forwardRef } from 'react';
import { ReactNode, ButtonHTMLAttributes, useState, forwardRef } from 'react';
import { CheckCircledIcon } from '@radix-ui/react-icons';
import { Button } from '../button';
import { cn } from '../../../lib/utils';
Expand Down

0 comments on commit ba32d20

Please sign in to comment.