mirror of
https://github.com/supabase/supabase.git
synced 2026-10-07 02:15:05 +03:00
Fix restoration not updating connection string
This commit is contained in:
1 parent
1c5387f3bd
commit
5836ba8a8c
1 file changed
+2
-2
@@ -8,7 +8,7 @@ import { getWithTimeout } from 'lib/common/fetch'
|
||||
interface Props {}
|
||||
|
||||
const RestoringState: FC<Props> = ({}) => {
|
||||
const { app, ui } = useStore()
|
||||
const { app, ui, meta } = useStore()
|
||||
const project = ui.selectedProject
|
||||
const checkServerInterval = useRef<number>()
|
||||
|
||||
@@ -37,7 +37,7 @@ const RestoringState: FC<Props> = ({}) => {
|
||||
|
||||
const onConfirm = async () => {
|
||||
setLoading(true)
|
||||
await app.projects.fetchDetail(project?.ref ?? '')
|
||||
await app.projects.fetchDetail(project?.ref ?? '', (project) => meta.setProjectDetails(project))
|
||||
}
|
||||
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user