Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bl-nero committed Dec 9, 2024
1 parent 1df26a2 commit 3f01224
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion web/packages/teleport/src/Roles/RoleEditor/EditorHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ import React from 'react';
import { Flex, H2, Indicator, Box, ButtonIcon } from 'design';
import { HoverTooltip } from 'design/Tooltip';

import { Cross, Trash } from 'design/Icon';

import useTeleport from 'teleport/useTeleport';
import { Role } from 'teleport/services/resources';

import { EditorTab, EditorTabs } from './EditorTabs';
import { Cross, Trash } from 'design/Icon';

/** Renders a header button with role name and delete button. */
export const EditorHeader = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ import { H3, P, P3 } from 'design/Text/Text';
import { ButtonSecondary } from 'design/Button';
import Image from 'design/Image';

import { StepComponentProps, StepSlider } from 'design/StepSlider';

import { ChevronLeft, ChevronRight } from 'design/Icon';

import { State as ResourcesState } from 'teleport/components/useResources';
import { Role, RoleWithYaml } from 'teleport/services/resources';
import { yamlService } from 'teleport/services/yaml';
Expand All @@ -36,8 +40,6 @@ import { ButtonLockedFeature } from 'teleport/components/ButtonLockedFeature';

import { RoleEditor } from './RoleEditor';
import tagpromo from './tagpromo.png';
import { StepComponentProps, StepSlider } from 'design/StepSlider';
import { ChevronLeft, ChevronRight } from 'design/Icon';

/**
* This component is responsible for converting from the `Resource`
Expand Down

0 comments on commit 3f01224

Please sign in to comment.