mirror of
https://github.com/coracle-social/coracle.git
synced 2024-10-06 11:43:30 +00:00
Rename /user to /users
This commit is contained in:
parent
b4edf0d5b2
commit
4cf0945305
@ -72,7 +72,7 @@
|
||||
{/key}
|
||||
</Route>
|
||||
<Route path="/chat/:room/edit" component={ChatEdit} />
|
||||
<Route path="/user/:pubkey" component={UserDetail} />
|
||||
<Route path="/users/:pubkey" component={UserDetail} />
|
||||
<Route path="/settings/keys" component={Keys} />
|
||||
<Route path="/settings/relays" component={RelayList} />
|
||||
<Route path="/settings/profile" component={Profile} />
|
||||
@ -87,7 +87,7 @@
|
||||
>
|
||||
{#if $user}
|
||||
<li>
|
||||
<a href={`/user/${$user.pubkey}`} class="flex gap-2 px-4 py-2 pb-6 items-center">
|
||||
<a href={`/users/${$user.pubkey}`} class="flex gap-2 px-4 py-2 pb-6 items-center">
|
||||
<div
|
||||
class="overflow-hidden w-6 h-6 rounded-full bg-cover bg-center shrink-0 border border-solid border-white"
|
||||
style="background-image: url({$user.picture})" />
|
||||
|
@ -3,7 +3,7 @@
|
||||
</script>
|
||||
|
||||
{#if user}
|
||||
<a href={`/user/${user.pubkey}`} class="flex gap-2 items-center">
|
||||
<a href={`/users/${user.pubkey}`} class="flex gap-2 items-center">
|
||||
<div
|
||||
class="overflow-hidden w-4 h-4 rounded-full bg-cover bg-center shrink-0 border border-solid border-white"
|
||||
style="background-image: url({user.picture})" />
|
||||
|
@ -44,7 +44,7 @@
|
||||
} else {
|
||||
await dispatch("account/update", values)
|
||||
|
||||
navigate(`/user/${$user.pubkey}`)
|
||||
navigate(`/users/${$user.pubkey}`)
|
||||
|
||||
toast.show("info", "Your profile has been updated!")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user