beatufitull front end for ozone modration ,, wit catpucoin and ebergarden !
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix serber side

+4 -6
+2 -4
src/components/LabelerSetup.svelte
··· 1 1 <script lang="ts"> 2 2 import { onMount } from 'svelte'; 3 3 import { getLabelerDid, getLabelerUrl } from '$lib/api/ozone'; 4 - import { getOAuthClient, signInPopup } from '$lib/oauth'; 4 + import { getOAuthClient, signInPopup } from '$lib/oauth.client'; 5 5 import { Agent } from '@atproto/api'; 6 6 import { Check, LoaderCircle } from 'lucide-svelte'; 7 - import { query } from '$app/server'; 8 7 import { createQuery } from '@tanstack/svelte-query'; 9 - import { PlcClient, signOperation } from '@atcute/did-plc'; 10 - import { session } from '$lib/stores/auth'; 8 + import { PlcClient } from '@atcute/did-plc'; 11 9 import Button from './ui/Button.svelte'; 12 10 import Input from './ui/Input.svelte'; 13 11
src/lib/oauth.ts src/lib/oauth.client.ts
+1 -1
src/routes/+layout.svelte
··· 4 4 import { session } from '$lib/stores/auth'; 5 5 import { page } from '$app/stores'; 6 6 import { onMount } from 'svelte'; 7 - import { initializeAuth } from '$lib/oauth'; 7 + import { initializeAuth } from '$lib/oauth.client'; 8 8 import { LoaderCircle } from 'lucide-svelte'; 9 9 import { Agent } from '@atproto/api'; 10 10 import { getLabelerDid } from '$lib/api/ozone';
+1 -1
src/routes/login/+page.svelte
··· 1 1 <script lang="ts"> 2 2 import { error, isLoading } from '$lib/stores/auth'; 3 - import { authorize } from '$lib/oauth'; 3 + import { authorize } from '$lib/oauth.client'; 4 4 import { getLabelerDid, getPdsUrl } from '$lib/api/ozone'; 5 5 import { Agent } from '@atproto/api'; 6 6 import Button from '../../components/ui/Button.svelte';