forked from blisstown/campfire
remove redundant parameter from Lang()
This commit is contained in:
parent
1b25e56d0a
commit
7db5ec7fae
24 changed files with 29 additions and 36 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
export let data;
|
||||
|
||||
const lang = Lang('en_GB');
|
||||
const lang = Lang();
|
||||
|
||||
let post = fetchPost(data.post_id);
|
||||
let error = false;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
export let data;
|
||||
|
||||
const lang = Lang('en_GB');
|
||||
const lang = Lang();
|
||||
|
||||
let auth_code = data.code;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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("/");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue