Skip to content

Commit

Permalink
fixed prettier/eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
schnubor committed Dec 8, 2022
1 parent adefec3 commit e267070
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
6 changes: 5 additions & 1 deletion src/components/AdvancedControls.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import React, { useState, useRef, useEffect } from 'react'
import { usePicker } from '../context'
import { getHandleValue } from '../utils/utils'
import { usePaintSat, usePaintLight, usePaintBright } from '../hooks/usePaintHue'
import {
usePaintSat,
usePaintLight,
usePaintBright,
} from '../hooks/usePaintHue'
import { barWrap, psRl, barWrapInner, cResize, handle } from '../style'

const tinycolor = require('tinycolor2')
Expand Down
2 changes: 1 addition & 1 deletion src/components/Portal.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { memo, useEffect, useRef, useState } from 'react'
import { memo, useEffect, useRef, useState } from 'react'
import { createPortal } from 'react-dom'
import { v4 as uuidv4 } from 'uuid'

Expand Down
7 changes: 6 additions & 1 deletion test/utils.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
import { isUpperCase, getNewHsl, getGradientType, getDegrees } from '../src/utils/utils'
import {
isUpperCase,
getNewHsl,
getGradientType,
getDegrees,
} from '../src/utils/utils'

describe('isUpperCase', () => {
it('should return true when the first letter of the string is upper-cased', () => {
Expand Down

0 comments on commit e267070

Please sign in to comment.