clean code
This commit is contained in:
@@ -1,16 +1,13 @@
|
||||
<script>
|
||||
import Card from './Card.svelte';
|
||||
|
||||
import { onMount } from 'svelte';
|
||||
import { api } from '../../urls.svelte';
|
||||
import Card from './Card.svelte';
|
||||
import { byName } from '../../vcard.js';
|
||||
import { api } from '../../urls.svelte';
|
||||
import { error, yikes } from '../../warn.svelte';
|
||||
import { t } from '../../translations.svelte';
|
||||
|
||||
import { byName } from '../../vcard.js';
|
||||
import { onMount } from 'svelte';
|
||||
import { t } from '../../translations.svelte';
|
||||
|
||||
let contacts = $state(null)
|
||||
|
||||
|
||||
async function load(){
|
||||
const url = api('contact/list');
|
||||
const res = await fetch(url,{credentials:'include'});
|
||||
|
||||
Reference in New Issue
Block a user