diff --git a/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsx b/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsx index 98c2e51e065..4aba64bac4e 100644 --- a/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsx +++ b/apps/studio/components/interfaces/Functions/EdgeFunctionSecrets/EdgeFunctionSecrets.tsx @@ -42,6 +42,18 @@ const EdgeFunctionSecrets = () => { [] : data ?? [] + const headers = [ + Name, + + Digest{' '} + + SHA256 + + , + Updated at, + , + ] + return ( <> {isLoading && } @@ -73,17 +85,7 @@ const EdgeFunctionSecrets = () => {
Name, - - Digest{' '} - - SHA256 - - , - Updated at, - , - ]} + head={headers} body={ secrets.length > 0 ? ( secrets.map((secret) => ( @@ -95,7 +97,7 @@ const EdgeFunctionSecrets = () => { )) ) : secrets.length === 0 && searchString.length > 0 ? ( - +

No results found

Your search for "{searchString}" did not return any results @@ -104,7 +106,7 @@ const EdgeFunctionSecrets = () => { ) : ( - +

No secrets created

There are no secrets associated with your project yet