style: auto-fix lint and format
This commit is contained in:
1 parent
77884a3179
commit
8c51a3769e
3 files changed
+30
-25
No files matched your search
@@ -257,15 +257,16 @@ export const WidgetMultiReleasesRepositoriesInput = ({
|
||||
);
|
||||
};
|
||||
|
||||
const providersWithAuth: ReleaseProviderKind[] = ["github", "gitHubContainerRegistry", "dockerHub", "gitlab", "npm", "codeberg"];
|
||||
const providersWithAuth: ReleaseProviderKind[] = [
|
||||
"github",
|
||||
"gitHubContainerRegistry",
|
||||
"dockerHub",
|
||||
"gitlab",
|
||||
"npm",
|
||||
"codeberg",
|
||||
];
|
||||
|
||||
const ProviderTokensSection = ({
|
||||
itemId,
|
||||
repositories,
|
||||
}: {
|
||||
itemId: string;
|
||||
repositories: ReleasesRepository[];
|
||||
}) => {
|
||||
const ProviderTokensSection = ({ itemId, repositories }: { itemId: string; repositories: ReleasesRepository[] }) => {
|
||||
const tRepository = useScopedI18n("widget.releases.option.repositories");
|
||||
const { data: configuredKinds = [], refetch } = clientApi.widget.secrets.getConfiguredKinds.useQuery({ itemId });
|
||||
const setSecret = clientApi.widget.secrets.setSecret.useMutation({ onSuccess: () => refetch() });
|
||||
|
||||
Reference in new issue
Block a user