mirror of
https://github.com/coracle-social/coracle.git
synced 2024-09-30 00:41:12 +00:00
Fix some notification badges
This commit is contained in:
parent
4251ec3b76
commit
92b9436e39
@ -33,12 +33,12 @@ If you like Coracle and want to support its development, you can donate sats via
|
|||||||
- [ ] Reporting and basic distributed moderation
|
- [ ] Reporting and basic distributed moderation
|
||||||
- [ ] Content and person recommendations
|
- [ ] Content and person recommendations
|
||||||
|
|
||||||
You can find a more complete changelog [here](./ROADMAP.md).
|
You can find a more complete changelog [here](./CHANGELOG.md).
|
||||||
|
|
||||||
# Run Coracle locally:
|
# Run Coracle locally:
|
||||||
|
|
||||||
- Clone the project repository: `git clone https://github.com/coracle-social/coracle.git`
|
- Clone the project repository: `git clone https://github.com/coracle-social/coracle.git`
|
||||||
- Navitage to the project directory: `cd coracle`
|
- Navigate to the project directory: `cd coracle`
|
||||||
- Install dependencies: `npm install`
|
- Install dependencies: `yarn`
|
||||||
- Add an env file from the template: `cp env.template env.local`
|
- Add an env file from the template: `cp env.template env.local`
|
||||||
- Start the development server: `npm run dev`
|
- Start the development server: `yarn dev`
|
||||||
|
@ -194,11 +194,12 @@
|
|||||||
</Anchor>
|
</Anchor>
|
||||||
{#if Env.FORCE_RELAYS.length === 0}
|
{#if Env.FORCE_RELAYS.length === 0}
|
||||||
<Anchor
|
<Anchor
|
||||||
class="block p-3 px-4 transition-all hover:bg-accent hover:text-white"
|
class="relative block p-3 px-4 transition-all hover:bg-accent hover:text-white"
|
||||||
href="/relays">
|
href="/relays">
|
||||||
<i class="fa fa-server mr-2" /> Relays
|
<i class="fa fa-server mr-2" /> Relays
|
||||||
{#if $slowConnections.length > 0}
|
{#if $slowConnections.length > 0}
|
||||||
<div class="absolute left-8 top-2 h-2 w-2 rounded bg-accent" />
|
<div
|
||||||
|
class="absolute left-3 top-3 h-2 w-2 rounded border border-solid border-white bg-accent" />
|
||||||
{/if}
|
{/if}
|
||||||
</Anchor>
|
</Anchor>
|
||||||
{/if}
|
{/if}
|
||||||
|
@ -95,7 +95,7 @@ export const createScroller = <T>(
|
|||||||
}
|
}
|
||||||
|
|
||||||
// No need to check all that often
|
// No need to check all that often
|
||||||
await sleep(500)
|
await sleep(1000)
|
||||||
|
|
||||||
if (!done) {
|
if (!done) {
|
||||||
requestAnimationFrame(check)
|
requestAnimationFrame(check)
|
||||||
|
Loading…
Reference in New Issue
Block a user