Skip to content

Commit

Permalink
fix: cypress path, unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Jan 17, 2025
1 parent 54dca39 commit 9e251c0
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Box from '@mui/material/Box'
import Drawer from '@mui/material/Drawer'
import { SizesAndSpaces } from '@ui-kit/themes/design/1_sizes_spaces'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { enforce, group, test } from 'vest'
import { createValidationSuite } from '@ui-kit/lib/validation'
import { ChainNameParams, ChainParams } from './root-keys'
import { ChainNameParams } from './root-keys'

export const chainNameValidationGroup = ({ blockchainId }: ChainNameParams) =>
group('chainNameValidation', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/curve-ui-kit/src/shared/ui/LinearProgress.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MuiLinearProgress, { linearProgressClasses } from '@mui/material/LinearProgress'
import MuiLinearProgress from '@mui/material/LinearProgress'
import { useEffect, useState } from 'react'

const SIZE_MAPPING = {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DesignSystem, DesignOptions } from './design'
import { DesignSystem } from './design'

declare module '@mui/material/Button' {
type Buttons = Omit<DesignSystem['Button'], 'Focus_Outline'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import ArrowOutwardIcon from '@mui/icons-material/ArrowOutward'

import { SizesAndSpaces } from '@ui-kit/themes/design/1_sizes_spaces'

import { Section, Header, Title, Paragraph } from '../Section'
import { Header, Paragraph, Section } from '../Section'
import { List } from '../List'

const { Spacing } = SizesAndSpaces
Expand Down
1 change: 0 additions & 1 deletion packages/ui/src/InternalLinkButton/InternalLinkButton.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import styled from 'styled-components'
import { ReactComponent as ExternalIcon } from 'ui/src/images/external.svg'

import Button from 'ui/src/Button'
import Icon from 'ui/src/Icon'
Expand Down
2 changes: 1 addition & 1 deletion tests/cypress.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineConfig({
retries: { runMode: 2, openMode: 0 },
scrollBehavior: 'center',
e2e: {
baseUrl: 'http://localhost:3000/#',
baseUrl: 'http://localhost:3000',
specPattern: 'cypress/e2e/**/*',
},
})

0 comments on commit 9e251c0

Please sign in to comment.