Skip to content

Commit 51db9e0

Browse files
committed
BSA-2024: * fixed imports with single quotes
1 parent fad3677 commit 51db9e0

File tree

16 files changed

+56
-57
lines changed

16 files changed

+56
-57
lines changed

client/src/common/types/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export type { Card } from "./card.type";
2-
export type { List } from "./list.type";
3-
export type { IconName } from "./icon-name.type";
1+
export type { Card } from './card.type';
2+
export type { List } from './list.type';
3+
export type { IconName } from './icon-name.type';

client/src/common/types/list.type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Card } from "./card.type";
1+
import { Card } from './card.type';
22

33
type List = {
44
id: string;

client/src/components/card-item/card-item.tsx

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
import type { DraggableProvided } from "@hello-pangea/dnd";
2-
import React from "react";
1+
import type { DraggableProvided } from '@hello-pangea/dnd';
32

4-
import type { Card } from "../../common/types";
5-
import { CopyButton } from "../primitives/copy-button";
6-
import { DeleteButton } from "../primitives/delete-button";
7-
import { Splitter } from "../primitives/styled/splitter";
8-
import { Text } from "../primitives/text";
9-
import { Title } from "../primitives/title";
10-
import { Container } from "./styled/container";
11-
import { Content } from "./styled/content";
12-
import { Footer } from "./styled/footer";
3+
import type { Card } from '../../common/types';
4+
import { CopyButton } from '../primitives/copy-button';
5+
import { DeleteButton } from '../primitives/delete-button';
6+
import { Splitter } from '../primitives/styled/splitter';
7+
import { Text } from '../primitives/text';
8+
import { Title } from '../primitives/title';
9+
import { Container } from './styled/container';
10+
import { Content } from './styled/content';
11+
import { Footer } from './styled/footer';
1312

1413
type Props = {
1514
card: Card;
@@ -34,7 +33,7 @@ export const CardItem = ({ card, isDragging, provided }: Props) => {
3433
onChange={() => {}}
3534
title={card.name}
3635
fontSize="large"
37-
bold={true}
36+
isBold
3837
/>
3938
<Text text={card.description} onChange={() => {}} />
4039
<Footer>

client/src/components/column/column.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const Column = ({ listId, listName, cards, index }: Props) => {
3737
onChange={() => {}}
3838
fontSize="large"
3939
width={200}
40-
bold
40+
isBold
4141
/>
4242
<Splitter />
4343
<DeleteButton color="#FFF0" onClick={() => {}} />

client/src/components/icon/icon.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import Add from "../../assets/icons/add.svg?react";
2-
import Copy from "../../assets/icons/copy.svg?react";
3-
import Delete from "../../assets/icons/delete.svg?react";
4-
import { IconName } from "../../common/types";
1+
import Add from '../../assets/icons/add.svg?react';
2+
import Copy from '../../assets/icons/copy.svg?react';
3+
import Delete from '../../assets/icons/delete.svg?react';
4+
import { IconName } from '../../common/types';
55

66
type Props = {
77
iconName: IconName;

client/src/components/primitives/add-button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { Icon } from "../icon/icon";
2-
import { Button } from "./styled/button";
1+
import { Icon } from '../icon/icon';
2+
import { Button } from './styled/button';
33

44
type Props = {
55
onClick: () => void;

client/src/components/primitives/copy-button.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { colors } from "@atlaskit/theme";
1+
import { colors } from '@atlaskit/theme';
22

3-
import { Icon } from "../icon/icon";
4-
import { Button } from "./styled/button";
3+
import { Icon } from '../icon/icon';
4+
import { Button } from './styled/button';
55

66
type Props = {
77
onClick: () => void;

client/src/components/primitives/creator-input.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
import React, { useState } from "react";
1+
import React, { useState } from 'react';
22

3-
import { AddButton } from "./add-button";
4-
import { Input } from "./styled/input";
3+
import { AddButton } from './add-button';
4+
import { Input } from './styled/input';
55

66
type Props = {
77
onSubmit: (value: string) => void;
88
};
99

1010
const CreatorInput = ({ onSubmit }: Props) => {
11-
const [name, setName] = useState("");
11+
const [name, setName] = useState('');
1212

1313
const onClick = () => {
14-
setName("");
14+
setName('');
1515
onSubmit(name);
1616
};
1717

client/src/components/primitives/delete-button.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { colors } from "@atlaskit/theme";
1+
import { colors } from '@atlaskit/theme';
22

3-
import { Icon } from "../icon/icon";
4-
import { Button } from "./styled/button";
3+
import { Icon } from '../icon/icon';
4+
import { Button } from './styled/button';
55

66
type Props = {
77
onClick: () => void;

client/src/components/primitives/styled/input.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import styled from "@emotion/styled";
1+
import styled from '@emotion/styled';
22

3-
import { BORDER_RADIUS } from "../../../common/constants";
3+
import { BORDER_RADIUS } from '../../../common/constants';
44

55
type Props = {
66
fontSize: "x-large" | "large" | "medium";

0 commit comments

Comments
 (0)