Merge pull request #1794 from automatisch/fix-application-page
fix: destructure app config data correctly on Application page
This commit is contained in:
@@ -59,7 +59,7 @@ export default function Application() {
|
|||||||
const { data, loading } = useApp(appKey);
|
const { data, loading } = useApp(appKey);
|
||||||
const app = data?.data || {};
|
const app = data?.data || {};
|
||||||
|
|
||||||
const { appConfig } = useAppConfig(appKey);
|
const { data: appConfig } = useAppConfig(appKey);
|
||||||
const connectionId = searchParams.get('connectionId') || undefined;
|
const connectionId = searchParams.get('connectionId') || undefined;
|
||||||
|
|
||||||
const goToApplicationPage = () => navigate('connections');
|
const goToApplicationPage = () => navigate('connections');
|
||||||
|
Reference in New Issue
Block a user