This commit is contained in:
Joshen Lim committed 2023-02-09 14:19:46 +08:00
1 parent d3177f68cb
commit c6bcdc69c4
2 files changed
+4 -4

No files matched your search

@@ -20,7 +20,7 @@ const DatabaseSettings: FC<any> = ({ projectRef }) => {
if (isLoading) {
return (
<div className="space-y-4">
<div className="space-y-10">
<section className="space-y-6">
<h3 className="text-scale-1200 mb-2 text-xl">Database Settings</h3>
<Panel
@@ -116,7 +116,7 @@ const DatabaseSettings: FC<any> = ({ projectRef }) => {
`-U ${connectionInfo.db_user}`
return (
<div className="space-y-4">
<div className="space-y-10">
<section className="space-y-6">
<h3 className="text-scale-1200 mb-2 text-xl">Database Settings</h3>
<Panel
@@ -44,8 +44,8 @@ export const useSSLEnforcementUpdateMutation = ({
{
async onSuccess(data, variables, context) {
const { projectRef } = variables
await queryClient.invalidateQueries(sslEnforcementKeys.list(projectRef)),
await onSuccess?.(data, variables, context)
await queryClient.invalidateQueries(sslEnforcementKeys.list(projectRef))
await onSuccess?.(data, variables, context)
},
...options,
}