remove unused
This commit is contained in:
parent
a7059a5fc3
commit
1e101b7f4c
@ -1,4 +1,4 @@
|
|||||||
import React, { Children } from "react"
|
import React from "react"
|
||||||
import "./bookkeepingTemplete.css"
|
import "./bookkeepingTemplete.css"
|
||||||
import { Breadcrumps } from "../Breadcrumps/Breadcrumps"
|
import { Breadcrumps } from "../Breadcrumps/Breadcrumps"
|
||||||
import { Sidebar } from "../Sidebar/Sidebar"
|
import { Sidebar } from "../Sidebar/Sidebar"
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
import { useEffect, useState } from "react";
|
|
||||||
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter';
|
|
||||||
import { a11yDark } from 'react-syntax-highlighter/dist/esm/styles/prism';
|
|
||||||
|
|
||||||
export const CodeSnippetlighter = () => {
|
|
||||||
const [codeString, setCodeString] = useState(``)
|
|
||||||
//
|
|
||||||
// useEffect(()=>{
|
|
||||||
// fetch('/code.txt')
|
|
||||||
// .then((r) => r.text())
|
|
||||||
// .then(text => {
|
|
||||||
// setCodeString(text)
|
|
||||||
// })
|
|
||||||
// }, [])
|
|
||||||
|
|
||||||
return (
|
|
||||||
<SyntaxHighlighter language={"javascript"} style={a11yDark} wrapLongLines={false} customStyle={{fontSize:14}} showLineNumbers={true}>
|
|
||||||
{codeString}
|
|
||||||
</SyntaxHighlighter>
|
|
||||||
);
|
|
||||||
};
|
|
@ -1,13 +0,0 @@
|
|||||||
import React from 'react';
|
|
||||||
import { BookkeepingTemplete } from "../components/features/bookkeeping/BookkeepingTemplete/BookkeepingTemplete"
|
|
||||||
import { ContractContent } from "../components/features/bookkeeping/ContractContent/ContractContent"
|
|
||||||
|
|
||||||
export const ContractPage = () => {
|
|
||||||
return (
|
|
||||||
<div>
|
|
||||||
<BookkeepingTemplete showBreadcrumps nameBreeadcrumps="Создание договора">
|
|
||||||
<ContractContent />
|
|
||||||
</BookkeepingTemplete>
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
@ -1,13 +0,0 @@
|
|||||||
import React from 'react';
|
|
||||||
import { BookkeepingTemplete } from "../components/features/bookkeeping/BookkeepingTemplete/BookkeepingTemplete"
|
|
||||||
import { MoneyContent } from "../components/features/Money/MoneyContent"
|
|
||||||
|
|
||||||
export const MoneyPage = () => {
|
|
||||||
return (
|
|
||||||
<div>
|
|
||||||
<BookkeepingTemplete>
|
|
||||||
<MoneyContent></MoneyContent>
|
|
||||||
</BookkeepingTemplete>
|
|
||||||
</div>
|
|
||||||
)
|
|
||||||
}
|
|
@ -1,11 +0,0 @@
|
|||||||
import React from 'react';
|
|
||||||
import { BookkeepingTemplete } from "../components/features/bookkeeping/BookkeepingTemplete/BookkeepingTemplete"
|
|
||||||
import { TaxContent } from "../components/features/Taxes/TaxContent/TaxContent"
|
|
||||||
|
|
||||||
export const TaxPage = () => {
|
|
||||||
return (
|
|
||||||
<BookkeepingTemplete>
|
|
||||||
<TaxContent></TaxContent>
|
|
||||||
</BookkeepingTemplete>
|
|
||||||
)
|
|
||||||
}
|
|
@ -1 +0,0 @@
|
|||||||
Hellow
|
|
Loading…
Reference in New Issue
Block a user