Skip to content

Commit 8363234

Browse files
authored
chore: rename playground components to .jsx (#873)
* chore: rename playground components to `.jsx` * fix ci
1 parent 30cdda4 commit 8363234

File tree

14 files changed

+13
-13
lines changed

14 files changed

+13
-13
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ import "regenerator-runtime/runtime";
22

33
import { useState, useEffect, useMemo, useCallback, useRef } from "react";
44
import { flushSync } from "react-dom";
5-
import Alert from "./components/Alert";
6-
import CrashAlert from "./components/CrashAlert";
7-
import Footer from "./components/Footer";
8-
import CodeEditor from "./components/CodeEditor";
5+
import Alert from "./components/alert";
6+
import CrashAlert from "./components/crash-alert";
7+
import Footer from "./components/footer";
8+
import CodeEditor from "./components/code-editor";
99
import { Linter } from "eslint/universal";
1010
import Unicode from "./utils/unicode";
11-
import Configuration from "./components/Configuration";
11+
import Configuration from "./components/configuration";
1212
import Split from "react-split";
1313
import debounce from "./utils/debounce";
14-
import AlertsActionBar from "./components/AlertsActionBar";
14+
import AlertsActionBar from "./components/alerts-action-bar";
1515
import "./scss/split-pane.scss";
1616
import * as typeScriptESLintParser from "@typescript-eslint/parser";
1717

File renamed without changes.

src/playground/components/Configuration.js renamed to src/playground/components/configuration.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { useState, useRef, useEffect } from "react";
22
import Select, { components } from "react-select";
3-
import ShareURL from "./ShareURL";
3+
import ShareURL from "./share-url";
44
import {
55
ECMA_FEATURES,
66
ECMA_VERSIONS,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Alert from "./Alert";
1+
import Alert from "./alert";
22

33
export default function CrashAlert({ error }) {
44
const AlertMessage = (
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import ThemeSwitcher from "./ThemeSwitcher";
2-
import SocialIcons from "./SocialIcons";
1+
import ThemeSwitcher from "./theme-switcher";
2+
import SocialIcons from "./social-icons";
33

44
export default function Footer() {
55
return (
File renamed without changes.

0 commit comments

Comments
 (0)