Merge pull request #665 from getmaxun/error-handling
refactor: standardize ui file casing
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
import { ScrollSettings } from './scroll';
|
import { ScrollSettings } from './Scroll';
|
||||||
import { ScreenshotSettings } from "./screenshot";
|
import { ScreenshotSettings } from "./Screenshot";
|
||||||
import { ScrapeSettings } from "./scrape";
|
import { ScrapeSettings } from "./Scrape";
|
||||||
import { ScrapeSchemaSettings } from "./scrapeSchema";
|
import { ScrapeSchemaSettings } from "./ScrapeSchema";
|
||||||
|
|
||||||
export {
|
export {
|
||||||
ScrollSettings,
|
ScrollSettings,
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import styled from 'styled-components';
|
|||||||
import ReplayIcon from '@mui/icons-material/Replay';
|
import ReplayIcon from '@mui/icons-material/Replay';
|
||||||
import ArrowBackIcon from '@mui/icons-material/ArrowBack';
|
import ArrowBackIcon from '@mui/icons-material/ArrowBack';
|
||||||
import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
|
import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
|
||||||
import { NavBarButton } from '../ui/buttons/buttons';
|
import { NavBarButton } from '../ui/buttons/Buttons';
|
||||||
import { UrlForm } from './UrlForm';
|
import { UrlForm } from './UrlForm';
|
||||||
import { useCallback, useEffect } from "react";
|
import { useCallback, useEffect } from "react";
|
||||||
import { useSocketStore } from "../../context/socket";
|
import { useSocketStore } from "../../context/socket";
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React, { useCallback, useContext, useEffect, useRef, useState } from 'react';
|
import React, { useCallback, useContext, useEffect, useRef, useState } from 'react';
|
||||||
import { useSocketStore } from '../../context/socket';
|
import { useSocketStore } from '../../context/socket';
|
||||||
import { Button } from '@mui/material';
|
import { Button } from '@mui/material';
|
||||||
import Canvas from "../recorder/canvas";
|
import Canvas from "../recorder/Canvas";
|
||||||
import { Highlighter } from "../recorder/Highlighter";
|
import { Highlighter } from "../recorder/Highlighter";
|
||||||
import { GenericModal } from '../ui/GenericModal';
|
import { GenericModal } from '../ui/GenericModal';
|
||||||
import { useActionContext } from '../../context/browserActions';
|
import { useActionContext } from '../../context/browserActions';
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import React, { useState, useEffect, useCallback, useRef } from 'react';
|
import React, { useState, useEffect, useCallback, useRef } from 'react';
|
||||||
import type { SyntheticEvent } from 'react';
|
import type { SyntheticEvent } from 'react';
|
||||||
import KeyboardArrowRightIcon from '@mui/icons-material/KeyboardArrowRight';
|
import KeyboardArrowRightIcon from '@mui/icons-material/KeyboardArrowRight';
|
||||||
import { NavBarForm, NavBarInput } from "../ui/form";
|
import { NavBarForm, NavBarInput } from "../ui/Form";
|
||||||
import { UrlFormButton } from "../ui/buttons/buttons";
|
import { UrlFormButton } from "../ui/buttons/Buttons";
|
||||||
import { useSocketStore } from '../../context/socket';
|
import { useSocketStore } from '../../context/socket';
|
||||||
import { Socket } from "socket.io-client";
|
import { Socket } from "socket.io-client";
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { useSocketStore } from '../../context/socket';
|
import { useSocketStore } from '../../context/socket';
|
||||||
import { Coordinates } from '../recorder/canvas';
|
import { Coordinates } from '../recorder/Canvas';
|
||||||
|
|
||||||
interface DatePickerProps {
|
interface DatePickerProps {
|
||||||
coordinates: Coordinates;
|
coordinates: Coordinates;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { useSocketStore } from '../../context/socket';
|
import { useSocketStore } from '../../context/socket';
|
||||||
import { Coordinates } from '../recorder/canvas';
|
import { Coordinates } from '../recorder/Canvas';
|
||||||
|
|
||||||
interface DateTimeLocalPickerProps {
|
interface DateTimeLocalPickerProps {
|
||||||
coordinates: Coordinates;
|
coordinates: Coordinates;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { useSocketStore } from '../../context/socket';
|
import { useSocketStore } from '../../context/socket';
|
||||||
import { Coordinates } from '../recorder/canvas';
|
import { Coordinates } from '../recorder/Canvas';
|
||||||
|
|
||||||
interface DropdownProps {
|
interface DropdownProps {
|
||||||
coordinates: Coordinates;
|
coordinates: Coordinates;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
import { useSocketStore } from '../../context/socket';
|
import { useSocketStore } from '../../context/socket';
|
||||||
import { Coordinates } from '../recorder/canvas';
|
import { Coordinates } from '../recorder/Canvas';
|
||||||
|
|
||||||
interface TimePickerProps {
|
interface TimePickerProps {
|
||||||
coordinates: Coordinates;
|
coordinates: Coordinates;
|
||||||
|
|||||||
@@ -307,4 +307,4 @@ const Canvas = ({ width, height, onCreateRef }: CanvasProps) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
export default memo(Canvas);
|
export default memo(Canvas);
|
||||||
Reference in New Issue
Block a user