- Enhanced tests to ensure consistent messageId generation for legacy inbox rows lacking a messageId. - Updated test descriptions for better clarity regarding the new messageId handling. - Adjusted test expectations to align with the updated behavior of relaying legacy inbox rows with generated messageIds.
10 lines
298 B
TypeScript
10 lines
298 B
TypeScript
import { computed } from "vue";
|
|
import { getContent } from "~/data/content";
|
|
import type { LocaleCode } from "~/data/i18n";
|
|
|
|
export const useLandingContent = () => {
|
|
const { locale } = useI18n();
|
|
const content = computed(() => getContent(locale.value as LocaleCode));
|
|
|
|
return { content };
|
|
};
|