Skip to content

Commit

Permalink
fix ts linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard87 committed Sep 5, 2024
1 parent 7b628f3 commit 249ffa6
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 12 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/radix-web-console-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Biome
uses: biomejs/setup-biome@v2
with:
version: latest
- uses: actions/setup-node@v4
with:
node-version-file: 'package.json'
Expand Down
4 changes: 2 additions & 2 deletions proxy/server.dev.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ server {
proxy_read_timeout 10;

location /api/ {
proxy_pass https://server-radix-api-qa.dev.radix.equinor.com;
# proxy_pass http://172.20.0.1:3002;
# proxy_pass https://server-radix-api-qa.dev.radix.equinor.com;
proxy_pass http://172.19.0.1:3002;
proxy_set_header Authorization "Bearer $http_x_forwarded_access_token";
proxy_set_header x-forwarded-access-token "";
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/app-config-ci/ci-popover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { configVariables } from '../../utils/config';

export interface ConfigurationItemPopoverProps {
open?: boolean;
onClose: () => undefined;
onClose: () => unknown;
anchorEl: HTMLElement;
configurationItem: Application;
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/component/toolbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Props = {
component?: Component;
startEnabled?: boolean;
stopEnabled?: boolean;
refetch?: () => undefined;
refetch?: () => unknown;
};
export function Toolbar({
appName,
Expand Down
2 changes: 1 addition & 1 deletion src/components/configure-application-github/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const radixZoneDNS = configVariables.RADIX_CLUSTER_BASE;

interface Props {
app: ApplicationRegistration;
refetch?: () => undefined | Promise<undefined>;
refetch?: () => unknown;
onDeployKeyChange: (appName: string) => void;
startVisible?: boolean;
useOtherCiToolOptionVisible?: boolean;
Expand Down
2 changes: 1 addition & 1 deletion src/components/page-configuration/change-admin-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const isEqual = (a: Array<unknown>, b: Array<unknown>) =>

interface Props {
registration: ApplicationRegistration;
refetch?: () => undefined;
refetch?: () => unknown;
}
export default function ChangeAdminForm({ registration, refetch }: Props) {
const [adminAdGroup, setAdminAdGroup] = useState<Array<string>>();
Expand Down
2 changes: 1 addition & 1 deletion src/components/page-configuration/change-ci-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { handlePromiseWithToast } from '../global-top-nav/styled-toaster';
interface Props {
appName: string;
configurationItem?: string;
refetch?: () => undefined | Promise<undefined>;
refetch?: () => unknown;
}

export const ChangeConfigurationItemForm = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { handlePromiseWithToast } from '../global-top-nav/styled-toaster';
export interface ChangeConfigBranchFormProps {
appName: string;
configBranch: string;
refetch?: () => undefined | Promise<undefined>;
refetch?: () => unknown;
}

export const ChangeConfigBranchForm: FunctionComponent<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { handlePromiseWithToast } from '../global-top-nav/styled-toaster';
export interface ChangeConfigFileFormProps {
appName: string;
radixConfigFullName?: string;
refetch?: () => undefined | Promise<undefined>;
refetch?: () => unknown;
}

const defaultConfigName = 'radixconfig.yaml';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const DeployKey = ({ appName }: { appName: string }) => {
interface Props {
appName: string;
repository: string;
refetch?: () => undefined;
refetch?: () => unknown;
sharedSecret: string;
}
export function ChangeRepositoryForm({
Expand Down

0 comments on commit 249ffa6

Please sign in to comment.