Skip to content

Commit 5a4a722

Browse files
Fix improper styled-components import in DatePicker. Fix import of tsx syntax
1 parent e067af4 commit 5a4a722

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/CodeBlock/CodeBlock.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { EmptyButton } from "../commonElement";
77
import sql from "react-syntax-highlighter/dist/cjs/languages/hljs/sql";
88
import bash from "react-syntax-highlighter/dist/cjs/languages/hljs/bash";
99
import json from "react-syntax-highlighter/dist/cjs/languages/hljs/json";
10-
import tsx from "react-syntax-highlighter/dist/cjs/languages/prism/typescript";
10+
import tsx from "react-syntax-highlighter/dist/cjs/languages/hljs/typescript"
1111

1212
SyntaxHighlighter.registerLanguage("sql", sql);
1313
SyntaxHighlighter.registerLanguage("bash", bash);

src/components/DatePicker/DatePicker.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { useEffect, useId, useState } from "react";
22
import { isSameDate, useCalendar, UseCalendarOptions } from "@h6s/calendar";
3+
import { styled } from "styled-components";
34
import Dropdown from "../Dropdown/Dropdown";
45
import { Icon } from "../Icon/Icon";
56
import { InputElement, InputWrapper } from "../Input/InputWrapper";
67
import { Container } from "../Container/Container";
7-
import styled from "styled-components";
88
import { IconButton } from "../IconButton/IconButton";
99

1010
const locale = "en-US";

0 commit comments

Comments
 (0)