mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
fix: 🐛 Fix dev breaking when signed out
This commit is contained in:
parent
53b71afdd5
commit
f8e219889c
3 changed files with 5 additions and 5 deletions
|
|
@ -46,8 +46,8 @@ export const state = reactive<ComposerState>({
|
|||
watch(
|
||||
state,
|
||||
(newState) => {
|
||||
const characterLimit = (identity.value as Identity).instance
|
||||
.configuration.statuses.max_characters;
|
||||
const characterLimit =
|
||||
identity.value?.instance.configuration.statuses.max_characters ?? 0;
|
||||
const characterCount = newState.rawContent.length;
|
||||
|
||||
state.canSend =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue