Skip to content

Commit

Permalink
fix lint -- NotificationType is an enum used as a value
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
  • Loading branch information
agilgur5 committed May 14, 2024
1 parent 0477372 commit 9cb1645
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {NotificationType} from 'argo-ui/src/components/notifications/notifications';
import {NotificationType} from 'argo-ui/src/components/notifications/notifications';
import {Page} from 'argo-ui/src/components/page/page';
import {SlidingPanel} from 'argo-ui/src/components/sliding-panel/sliding-panel';
import * as React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/cron-workflows/cron-workflow-details.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {NotificationType} from 'argo-ui/src/components/notifications/notifications';
import {NotificationType} from 'argo-ui/src/components/notifications/notifications';
import {Page} from 'argo-ui/src/components/page/page';
import {SlidingPanel} from 'argo-ui/src/components/sliding-panel/sliding-panel';
import * as React from 'react';
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/event-sources/event-source-details.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {NotificationType} from 'argo-ui/src/components/notifications/notifications';
import {NotificationType} from 'argo-ui/src/components/notifications/notifications';
import {Page} from 'argo-ui/src/components/page/page';
import {SlidingPanel} from 'argo-ui/src/components/sliding-panel/sliding-panel';
import {Tabs} from 'argo-ui/src/components/tabs/tabs';
Expand Down
2 changes: 1 addition & 1 deletion ui/src/app/sensors/sensor-details.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {NotificationType} from 'argo-ui/src/components/notifications/notifications';
import {NotificationType} from 'argo-ui/src/components/notifications/notifications';
import {Page} from 'argo-ui/src/components/page/page';
import * as React from 'react';
import {useContext, useEffect, useState} from 'react';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {NotificationType} from 'argo-ui/src/components/notifications/notifications'
import {NotificationType} from 'argo-ui/src/components/notifications/notifications';
import {Page} from 'argo-ui/src/components/page/page';
import {SlidingPanel} from 'argo-ui/src/components/sliding-panel/sliding-panel';
import * as React from 'react';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function FullHeightLogsViewer(props: LogsViewerProps) {
const LazyLogsViewer = React.lazy(async () => {
// prefetch b/c logs are commonly used
const module = await import(/* webpackPrefetch: true, webpackChunkName: "argo-ui-logs-viewer" */ 'argo-ui/src/components/logs-viewer/logs-viewer');
return { default: module.LogsViewer }; // React.lazy requires a default import, so we create an intermediate module
return {default: module.LogsViewer}; // React.lazy requires a default import, so we create an intermediate module
});

function SuspenseLogsViewer(props: LogsViewerProps) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {NotificationType} from 'argo-ui/src/components/notifications/notifications';
import {NotificationType} from 'argo-ui/src/components/notifications/notifications';
import * as React from 'react';
import {useContext, useMemo} from 'react';

Expand Down

0 comments on commit 9cb1645

Please sign in to comment.