Fix all usage of button tooltip (#30076)

* Fix all usage of button tooltip

* PRETTY
This commit is contained in:
Joshen Lim
2024-10-24 21:32:47 +08:00
committed by GitHub
parent 5781937739
commit 3a3360bbd0
35 changed files with 134 additions and 41 deletions

View File

@@ -81,7 +81,9 @@ const EdgeFunctionSecrets = () => {
tooltip={{
content: {
side: 'bottom',
text: 'You need additional permissions to update edge function secrets',
text: !canUpdateSecrets
? 'You need additional permissions to update edge function secrets'
: undefined,
},
}}
>