mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add semicolons
This commit is contained in:
@@ -7,8 +7,8 @@ import useError from "../../hooks/useError";
|
|||||||
import useSuccess from "../../hooks/useSuccess";
|
import useSuccess from "../../hooks/useSuccess";
|
||||||
import useAnonModeStore from '../../hooks/stores/useAnonModeStore';
|
import useAnonModeStore from '../../hooks/stores/useAnonModeStore';
|
||||||
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
||||||
import packageJson from '../../../package.json'
|
import packageJson from '../../../package.json';
|
||||||
const {version} = packageJson
|
const {version} = packageJson;
|
||||||
|
|
||||||
|
|
||||||
const SettingsModal = ({ isOpen, closeModal }) => {
|
const SettingsModal = ({ isOpen, closeModal }) => {
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ import useFeedStateString from '../../hooks/useFeedStateString';
|
|||||||
import useSuccess from '../../hooks/useSuccess';
|
import useSuccess from '../../hooks/useSuccess';
|
||||||
import useAnonModeStore from '../../hooks/stores/useAnonModeStore';
|
import useAnonModeStore from '../../hooks/stores/useAnonModeStore';
|
||||||
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
||||||
import packageJson from '../../../package.json'
|
import packageJson from '../../../package.json';
|
||||||
const {version} = packageJson
|
const {version} = packageJson;
|
||||||
let lastVirtuosoStates = {};
|
let lastVirtuosoStates = {};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -27,9 +27,9 @@ import useFeedStateString from '../../hooks/useFeedStateString';
|
|||||||
import useSuccess from '../../hooks/useSuccess';
|
import useSuccess from '../../hooks/useSuccess';
|
||||||
import useWindowWidth from '../../hooks/useWindowWidth';
|
import useWindowWidth from '../../hooks/useWindowWidth';
|
||||||
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
||||||
import packageJson from '../../../package.json'
|
import packageJson from '../../../package.json';
|
||||||
const {version} = packageJson
|
const {version} = packageJson;
|
||||||
let lastVirtuosoStates = {}
|
let lastVirtuosoStates = {};
|
||||||
|
|
||||||
|
|
||||||
const CatalogPost = ({post}) => {
|
const CatalogPost = ({post}) => {
|
||||||
|
|||||||
@@ -42,8 +42,8 @@ import useStateString from '../../hooks/useStateString';
|
|||||||
import useSuccess from '../../hooks/useSuccess';
|
import useSuccess from '../../hooks/useSuccess';
|
||||||
import useAnonModeStore from '../../hooks/stores/useAnonModeStore';
|
import useAnonModeStore from '../../hooks/stores/useAnonModeStore';
|
||||||
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
||||||
import packageJson from '../../../package.json'
|
import packageJson from '../../../package.json';
|
||||||
const {version} = packageJson
|
const {version} = packageJson;
|
||||||
let lastVirtuosoStates = {};
|
let lastVirtuosoStates = {};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -30,9 +30,9 @@ import useAnonModeStore from '../../hooks/stores/useAnonModeStore';
|
|||||||
import useFeedRows from '../../hooks/useFeedRows';
|
import useFeedRows from '../../hooks/useFeedRows';
|
||||||
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
||||||
import useWindowWidth from '../../hooks/useWindowWidth';
|
import useWindowWidth from '../../hooks/useWindowWidth';
|
||||||
import packageJson from '../../../package.json'
|
import packageJson from '../../../package.json';
|
||||||
const {version} = packageJson
|
const {version} = packageJson;
|
||||||
let lastVirtuosoStates = {}
|
let lastVirtuosoStates = {};
|
||||||
|
|
||||||
|
|
||||||
const CatalogPost = ({post}) => {
|
const CatalogPost = ({post}) => {
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ import getDate from '../../utils/getDate';
|
|||||||
import handleImageClick from '../../utils/handleImageClick';
|
import handleImageClick from '../../utils/handleImageClick';
|
||||||
import handleStyleChange from '../../utils/handleStyleChange';
|
import handleStyleChange from '../../utils/handleStyleChange';
|
||||||
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
||||||
import packageJson from '../../../package.json'
|
import packageJson from '../../../package.json';
|
||||||
const {version} = packageJson
|
const {version} = packageJson;
|
||||||
|
|
||||||
|
|
||||||
const Description = () => {
|
const Description = () => {
|
||||||
|
|||||||
@@ -7,9 +7,9 @@ import BoardAvatar from '../BoardAvatar';
|
|||||||
import OfflineIndicator from '../OfflineIndicator';
|
import OfflineIndicator from '../OfflineIndicator';
|
||||||
import CreateBoardModal from '../modals/CreateBoardModal';
|
import CreateBoardModal from '../modals/CreateBoardModal';
|
||||||
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
||||||
import packageJson from '../../../package.json'
|
import packageJson from '../../../package.json';
|
||||||
import { Tooltip } from 'react-tooltip';
|
import { Tooltip } from 'react-tooltip';
|
||||||
const {version} = packageJson
|
const {version} = packageJson;
|
||||||
// show commit ref on netlify to know which commit is being served for debugging
|
// show commit ref on netlify to know which commit is being served for debugging
|
||||||
const commitRef = process?.env?.REACT_APP_COMMIT_REF ? ` ${process.env.REACT_APP_COMMIT_REF.slice(0, 7)}` : ''
|
const commitRef = process?.env?.REACT_APP_COMMIT_REF ? ` ${process.env.REACT_APP_COMMIT_REF.slice(0, 7)}` : ''
|
||||||
|
|
||||||
|
|||||||
@@ -2,8 +2,8 @@ import React, { useEffect } from 'react';
|
|||||||
import { Helmet } from 'react-helmet-async';
|
import { Helmet } from 'react-helmet-async';
|
||||||
import { Link } from "react-router-dom";
|
import { Link } from "react-router-dom";
|
||||||
import { Container, Header, Logo, Page, Boards, BoardsTitle } from '../styled/views/Home.styled';
|
import { Container, Header, Logo, Page, Boards, BoardsTitle } from '../styled/views/Home.styled';
|
||||||
import packageJson from '../../../package.json'
|
import packageJson from '../../../package.json';
|
||||||
const {version} = packageJson
|
const {version} = packageJson;
|
||||||
|
|
||||||
|
|
||||||
const NotFound = () => {
|
const NotFound = () => {
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ import handleQuoteClick from '../../utils/handleQuoteClick';
|
|||||||
import handleStyleChange from '../../utils/handleStyleChange';
|
import handleStyleChange from '../../utils/handleStyleChange';
|
||||||
import useError from '../../hooks/useError';
|
import useError from '../../hooks/useError';
|
||||||
import useStateString from '../../hooks/useStateString';
|
import useStateString from '../../hooks/useStateString';
|
||||||
import packageJson from '../../../package.json'
|
import packageJson from '../../../package.json';
|
||||||
const {version} = packageJson
|
const {version} = packageJson;
|
||||||
|
|
||||||
|
|
||||||
const Pending = () => {
|
const Pending = () => {
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ import SettingsModal from '../modals/SettingsModal';
|
|||||||
import getDate from '../../utils/getDate';
|
import getDate from '../../utils/getDate';
|
||||||
import handleStyleChange from '../../utils/handleStyleChange';
|
import handleStyleChange from '../../utils/handleStyleChange';
|
||||||
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
||||||
import packageJson from '../../../package.json'
|
import packageJson from '../../../package.json';
|
||||||
const {version} = packageJson
|
const {version} = packageJson;
|
||||||
|
|
||||||
|
|
||||||
const Rules = () => {
|
const Rules = () => {
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ import useError from '../../hooks/useError';
|
|||||||
import useFeedStateString from '../../hooks/useFeedStateString';
|
import useFeedStateString from '../../hooks/useFeedStateString';
|
||||||
import useSuccess from '../../hooks/useSuccess';
|
import useSuccess from '../../hooks/useSuccess';
|
||||||
import useAnonModeStore from '../../hooks/stores/useAnonModeStore';
|
import useAnonModeStore from '../../hooks/stores/useAnonModeStore';
|
||||||
import packageJson from '../../../package.json'
|
import packageJson from '../../../package.json';
|
||||||
const {version} = packageJson
|
const {version} = packageJson;
|
||||||
let lastVirtuosoStates = {};
|
let lastVirtuosoStates = {};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -28,8 +28,8 @@ import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
|||||||
import useSuccess from '../../hooks/useSuccess';
|
import useSuccess from '../../hooks/useSuccess';
|
||||||
import useWindowWidth from '../../hooks/useWindowWidth';
|
import useWindowWidth from '../../hooks/useWindowWidth';
|
||||||
import packageJson from '../../../package.json';
|
import packageJson from '../../../package.json';
|
||||||
const {version} = packageJson
|
const {version} = packageJson;
|
||||||
let lastVirtuosoStates = {}
|
let lastVirtuosoStates = {};
|
||||||
|
|
||||||
|
|
||||||
const CatalogPost = ({post}) => {
|
const CatalogPost = ({post}) => {
|
||||||
|
|||||||
@@ -40,8 +40,8 @@ import useStateString from '../../hooks/useStateString';
|
|||||||
import useSuccess from '../../hooks/useSuccess';
|
import useSuccess from '../../hooks/useSuccess';
|
||||||
import useAnonModeStore from '../../hooks/stores/useAnonModeStore';
|
import useAnonModeStore from '../../hooks/stores/useAnonModeStore';
|
||||||
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
||||||
import packageJson from '../../../package.json'
|
import packageJson from '../../../package.json';
|
||||||
const {version} = packageJson
|
const {version} = packageJson;
|
||||||
|
|
||||||
|
|
||||||
const Thread = () => {
|
const Thread = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user