Skip to content

Commit

Permalink
feat: regen
Browse files Browse the repository at this point in the history
  • Loading branch information
YoussefAWasfy committed Dec 20, 2024
1 parent 2adcee2 commit 2dbad7c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ const CredentialsRevocationTable: React.FC<PaginatedCredentialsTableProps> = ({
</select>
)}
{(!isLoading || hasError) && (
<div className="flex justify-between">
<div
className={`${
hasError ? "flex justify-center" : "flex justify-between"
}`}
>
<button
className="px-4 py-2 bg-gray-500 text-white rounded"
onClick={() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ const CredentialsRevocationTable: React.FC<PaginatedCredentialsTableProps> = ({
</select>
)}
{(!isLoading || hasError) && (
<div className="flex justify-between">
<div
className={`${
hasError ? "flex justify-center" : "flex justify-between"
}`}
>
<button
className="px-4 py-2 bg-gray-500 text-white rounded"
onClick={() => {
Expand Down

0 comments on commit 2dbad7c

Please sign in to comment.