remove redundant parameter from Lang()

This commit is contained in:
ari melody 2025-07-15 00:02:12 +01:00
parent 1b25e56d0a
commit 7db5ec7fae
Signed by: ari
GPG key ID: 60B5F0386E3DDB7E
24 changed files with 29 additions and 36 deletions

View file

@ -13,7 +13,7 @@
import Composer from '@cf/ui/Composer.svelte';
import Widgets from '$lib/ui/Widgets.svelte';
const lang = Lang('en_GB');
const lang = Lang();
let show_composer = false;

View file

@ -9,7 +9,7 @@
import Post from '$lib/ui/post/Post.svelte';
import PageHeader from '../lib/ui/core/PageHeader.svelte';
const lang = Lang('en_GB');
const lang = Lang();
account.subscribe(account => {
if (account) getTimeline();

View file

@ -18,7 +18,7 @@
export let data;
const lang = Lang('en_GB');
const lang = Lang();
let profile_pinned_posts = writable([]);
let profile_posts_max_id = null;

View file

@ -12,7 +12,7 @@
export let data;
const lang = Lang('en_GB');
const lang = Lang();
let post = fetchPost(data.post_id);
let error = false;

View file

@ -12,7 +12,7 @@
export let data;
const lang = Lang('en_GB');
const lang = Lang();
let auth_code = data.code;

View file

@ -11,7 +11,7 @@
import CrossIcon from '../../img/icons/cross.svg'
import { get } from 'svelte/store';
const lang = Lang('en_GB');
const lang = Lang();
async function actionRequest(account_id, approved) {
// remove item from array first - this updates the ui and

View file

@ -7,7 +7,7 @@
import PageHeader from '../../lib/ui/core/PageHeader.svelte';
import Lang from '$lib/lang';
const lang = Lang('en_GB');
const lang = Lang();
if (!$account) goto("/");