refactor: run formatter

This commit is contained in:
Elias Schneider
2023-08-17 14:47:58 +02:00
parent 7b34cb14cb
commit f02e2979c4
48 changed files with 1018 additions and 573 deletions

View File

@@ -56,7 +56,7 @@ export default function AppShellDemo() {
.then(() => {
setLogo(null);
toast.success(
"Logo updated successfully. It may take a few minutes to update on the website."
"Logo updated successfully. It may take a few minutes to update on the website.",
);
})
.catch(toast.axiosError);
@@ -76,7 +76,7 @@ export default function AppShellDemo() {
const updateConfigVariable = (configVariable: UpdateConfig) => {
const index = updatedConfigVariables.findIndex(
(item) => item.key === configVariable.key
(item) => item.key === configVariable.key,
);
if (index > -1) {
@@ -139,7 +139,7 @@ export default function AppShellDemo() {
<Title order={6}>
<FormattedMessage
id={`admin.config.${camelToKebab(
configVariable.key
configVariable.key,
)}`}
/>
</Title>
@@ -154,7 +154,7 @@ export default function AppShellDemo() {
>
<FormattedMessage
id={`admin.config.${camelToKebab(
configVariable.key
configVariable.key,
)}.description`}
values={{ br: <br /> }}
/>