Chore/misc fixes 200625 (#36545)

* Fix database functions editor not resetting maximized state when panel is closed

* Small update to copy in compute costs confirmation modal
This commit is contained in:
Joshen Lim authored and GitHub committed 2025-06-23 13:47:35 +08:00
1 parent 17632f7520
commit 7aa111b863
2 files changed
+4 -3

No files matched your search

@@ -134,6 +134,7 @@ const CreateFunction = ({ func, visible, setVisible }: CreateFunctionProps) => {
useEffect(() => {
if (visible) {
setFocusedEditor(false)
form.reset({
name: func?.name ?? '',
schema: func?.schema ?? 'public',
+3 -3
View File
@@ -951,8 +951,8 @@ const Wizard: NextPageWithLayout = () => {
size="large"
loading={false}
visible={isComputeCostsConfirmationModalVisible}
title={<>Confirm compute costs</>}
confirmLabel="Confirm"
title="Confirm compute costs"
confirmLabel="I understand"
onCancel={() => setIsComputeCostsConfirmationModalVisible(false)}
onConfirm={async () => {
const values = form.getValues()
@@ -965,7 +965,7 @@ const Wizard: NextPageWithLayout = () => {
<p>
Launching a project on compute size "{instanceLabel(instanceSize)}" increases your
monthly costs by ${additionalMonthlySpend}, independent of how actively you use it. By
clicking "Confirm", you agree to the additional costs.{' '}
clicking "I understand", you agree to the additional costs.{' '}
<Link
href="https://supabase.com/docs/guides/platform/manage-your-usage/compute"
target="_blank"