fix typos

This commit is contained in:
Aine 2025-06-04 22:30:36 +03:00
parent cc74071933
commit 5165625cd0
No known key found for this signature in database
GPG Key ID: 34969C908CCA2804
4 changed files with 5 additions and 5 deletions

View File

@ -9,7 +9,7 @@ You can do that for a single homeserver or multiple homeservers at once, as `res
an array of strings. an array of strings.
The examples below contain the configuration settings to restrict the Synapse Admin instance to work only with The examples below contain the configuration settings to restrict the Synapse Admin instance to work only with
`example.com` (with Synapse runing at `matrix.example.com`) and `example.com` (with Synapse running at `matrix.example.com`) and
`example.net` (with Synapse running at `synapse.example.net`) homeservers. `example.net` (with Synapse running at `synapse.example.net`) homeservers.
Note that the homeserver URL should be the _actual_ homeserver URL, and not the delegated one. Note that the homeserver URL should be the _actual_ homeserver URL, and not the delegated one.

View File

@ -74,7 +74,7 @@ export const ExperimentalFeaturesList = () => {
const updateFeature = async (feature_name: string, feature_value: boolean) => { const updateFeature = async (feature_name: string, feature_value: boolean) => {
const updatedFeatures = { ...features, [feature_name]: feature_value } as ExperimentalFeaturesModel; const updatedFeatures = { ...features, [feature_name]: feature_value } as ExperimentalFeaturesModel;
setFeatures(updatedFeatures); setFeatures(updatedFeatures);
const reponse = await dataProvider.updateFeatures(record.id, updatedFeatures); const response = await dataProvider.updateFeatures(record.id, updatedFeatures);
notify("ra.notification.updated", { notify("ra.notification.updated", {
messageArgs: { smart_count: 1 }, messageArgs: { smart_count: 1 },
type: "success", type: "success",

View File

@ -1439,12 +1439,12 @@ const dataProvider = withLifecycleCallbacks(baseDataProvider, [
} }
if (avatarFile instanceof File) { if (avatarFile instanceof File) {
const reponse = await dataProvider.uploadMedia({ const response = await dataProvider.uploadMedia({
file: avatarFile, file: avatarFile,
filename: params.data.avatar_file.title, filename: params.data.avatar_file.title,
content_type: params.data.avatar_file.rawFile.type, content_type: params.data.avatar_file.rawFile.type,
}); });
params.data.avatar_url = reponse.content_uri; params.data.avatar_url = response.content_uri;
} }
return params; return params;
}, },

View File

@ -67,7 +67,7 @@ export const FetchConfig = async () => {
}; };
// load config from context // load config from context
// we deliberately processing each key separately to avoid overwriting the whole config, loosing some keys, and messing // we deliberately processing each key separately to avoid overwriting the whole config, losing some keys, and messing
// with typescript types // with typescript types
export const LoadConfig = (context: any) => { export const LoadConfig = (context: any) => {
if (context?.restrictBaseUrl) { if (context?.restrictBaseUrl) {