Skip to content

Commit

Permalink
refactor: update
Browse files Browse the repository at this point in the history
  • Loading branch information
nmsn committed Mar 16, 2023
1 parent 28130e5 commit 61c08c7
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules/
.next/

.idea/
release-toolbox.json
2 changes: 1 addition & 1 deletion src/components/ColorCard.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useState } from 'react';
import React, { useState } from 'react';

import { calcComplementaryColor } from '@nmsn/color-utils';

Expand Down
2 changes: 1 addition & 1 deletion src/components/ColorPickerGroup.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useEffect, useState } from 'react';
import React, { useEffect, useState } from 'react';

import ColorPicker from './ColorPicker';
import Space from './Space';
Expand Down
2 changes: 2 additions & 0 deletions src/components/Layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import React from 'react';

const Layout = ({ children }: { children: React.ReactNode }) => {
return (
<div
Expand Down
2 changes: 2 additions & 0 deletions src/components/Space.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import React from 'react';

const Space = ({
children,
type = 'horizontal',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useState } from 'react';
import React, { useState } from 'react';

import { calcComplementaryColor, isLight, mix2Color, model2Color } from '@nmsn/color-utils';

Expand Down

0 comments on commit 61c08c7

Please sign in to comment.