Skip to content

#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere

fix: prettier format on AppConfigModal

Anthony Stirling92376b738257
diff --git a/frontend/editor/src/core/components/shared/AppConfigModal.tsx b/frontend/editor/src/core/components/shared/AppConfigModal.tsx
index 95a3ebc595..3b6bb4a9ce 100644
--- a/frontend/editor/src/core/components/shared/AppConfigModal.tsx
+++ b/frontend/editor/src/core/components/shared/AppConfigModal.tsx
@@ -84,8 +84,9 @@ const AppConfigModalInner: React.FC<AppConfigModalProps> = ({
const handler = (ev: Event) => {
const detail = (ev as CustomEvent).detail as { key?: NavKey } | undefined;
if (detail?.key) {
- const alreadyInSettings =
- stripBasePath(window.location.pathname).startsWith("/settings");
+ const alreadyInSettings = stripBasePath(
+ window.location.pathname,
+ ).startsWith("/settings");
navigate(`/settings/${detail.key}`, {
replace: alreadyInSettings,
});