diff --git a/src/krist/api/index.ts b/src/krist/api/index.ts index c671cf1..87dc5f1 100644 --- a/src/krist/api/index.ts +++ b/src/krist/api/index.ts @@ -1,3 +1,6 @@ +// Copyright (c) 2020-2021 Drew Lemmy +// This file is part of KristWeb 2 under GPL-3.0. +// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt import { notification } from "antd"; import i18n from "../../utils/i18n"; diff --git a/src/layout/nav/SearchResults.less b/src/layout/nav/SearchResults.less index 2ffd3a9..debad91 100644 --- a/src/layout/nav/SearchResults.less +++ b/src/layout/nav/SearchResults.less @@ -1,3 +1,6 @@ +// Copyright (c) 2020-2021 Drew Lemmy +// This file is part of KristWeb 2 under GPL-3.0. +// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt @import (reference) "../../App.less"; .search-result-loading { diff --git a/src/layout/nav/SearchResults.tsx b/src/layout/nav/SearchResults.tsx index 01eeb97..3af9a2c 100644 --- a/src/layout/nav/SearchResults.tsx +++ b/src/layout/nav/SearchResults.tsx @@ -1,4 +1,7 @@ -import React, { ReactNode, FC } from "react"; +// Copyright (c) 2020-2021 Drew Lemmy +// This file is part of KristWeb 2 under GPL-3.0. +// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt +import React, { ReactNode } from "react"; import { Typography, Spin } from "antd"; import { LoadingOutlined } from "@ant-design/icons"; diff --git a/src/pages/dashboard/transaction-mock-data.json b/src/pages/dashboard/transaction-mock-data.json deleted file mode 100644 index b2293fe..0000000 --- a/src/pages/dashboard/transaction-mock-data.json +++ /dev/null @@ -1,92 +0,0 @@ -[ - { - "id": 10, - "value": 20, - "from": "kreichdyes", - "to": "khugepoopy", - "type": "transfer", - "time": "2021-02-21T18:23:43+0000" - }, - { - "id": 9, - "value": 125, - "from": "khugepoopy", - "to": "kqxhx5yn9v", - "metadata": "lemmmy@sc.kst", - "type": "transfer", - "time": "2021-02-21T18:20:43+0000" - }, - { - "id": 8, - "value": 3090, - "from": "kqxhx5yn9v", - "to": "khugepoopy", - "metadata": "return=lemmmy@sc.kst;username=Lemmmy", - "type": "transfer", - "time": "2021-02-21T18:00:43+0000" - }, - { - "id": 7, - "value": 1, - "from": null, - "to": "khugepoopy", - "type": "mined", - "time": "2021-02-21T17:00:43+0000" - }, - { - "id": 6, - "value": 0, - "from": "khugepoopy", - "to": "a", - "name": "poopy", - "metadata": "", - "type": "name_a_record", - "time": "2021-02-20T17:00:43+0000" - }, - { - "id": 5, - "value": 0, - "from": "khugepoopy", - "to": "a", - "name": "poopy", - "metadata": "https://switchcraft.pw/a/pretty/long/url.txt", - "type": "name_a_record", - "time": "2021-02-20T17:00:43+0000" - }, - { - "id": 4, - "value": 0, - "from": "khugepoopy", - "to": "kreichdyes", - "name": "shaft", - "type": "name_transfer", - "time": "2021-02-19T17:00:43+0000" - }, - { - "id": 3, - "value": 0, - "from": "krazedrugz", - "to": "khugepoopy", - "name": "lem", - "type": "name_transfer", - "time": "2021-02-18T17:00:43+0000" - }, - { - "id": 2, - "value": 0, - "from": "khugepoopy", - "to": "krazedrugz", - "name": "lem", - "type": "name_transfer", - "time": "2021-02-17T17:00:43+0000" - }, - { - "id": 1, - "value": 500, - "from": "khugepoopy", - "to": "name", - "name": "lem", - "type": "name_purchase", - "time": "2021-01-01T17:00:43+0000" - } -] diff --git a/src/utils/credits.ts b/src/utils/credits.ts index f062215..4aa30bc 100644 --- a/src/utils/credits.ts +++ b/src/utils/credits.ts @@ -1,3 +1,6 @@ +// Copyright (c) 2020-2021 Drew Lemmy +// This file is part of KristWeb 2 under GPL-3.0. +// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt import packageJson from "../../package.json"; export function getAuthorInfo(): { authorName: string; authorURL: string; gitURL: string } { diff --git a/src/utils/promiseThrottle.ts b/src/utils/promiseThrottle.ts index 72392a4..c18a8e0 100644 --- a/src/utils/promiseThrottle.ts +++ b/src/utils/promiseThrottle.ts @@ -1,3 +1,6 @@ +// Copyright (c) 2020-2021 Drew Lemmy +// This file is part of KristWeb 2 under GPL-3.0. +// Full details: https://github.com/tmpim/KristWeb2/blob/master/LICENSE.txt import { Dispatch, SetStateAction } from "react"; import { throttle as lodashThrottle } from "lodash-es";