From 71bb8cc73e204478ad7cb5dc3eb4f38ddb8e2e7d Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Mon, 25 Sep 2023 13:32:12 -0500 Subject: [PATCH] lexical: fix license path in lexical files --- src/features/compose/editor/nodes/index.ts | 2 +- src/features/compose/editor/nodes/mention-node.ts | 2 +- src/features/compose/editor/plugins/autosuggest-plugin.tsx | 2 +- src/features/compose/editor/plugins/link-plugin.tsx | 2 +- src/features/compose/editor/utils/get-dom-range-rect.ts | 2 +- src/features/compose/editor/utils/get-selected-node.ts | 2 +- src/features/compose/editor/utils/point.ts | 2 +- src/features/compose/editor/utils/rect.ts | 2 +- src/features/compose/editor/utils/set-floating-elem-position.ts | 2 +- src/features/compose/editor/utils/url.ts | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/features/compose/editor/nodes/index.ts b/src/features/compose/editor/nodes/index.ts index de1102a76..7c7695259 100644 --- a/src/features/compose/editor/nodes/index.ts +++ b/src/features/compose/editor/nodes/index.ts @@ -1,7 +1,7 @@ /** * This source code is derived from code from Meta Platforms, Inc. * and affiliates, licensed under the MIT license located in the - * LICENSE file in the /app/soapbox/features/compose/editor directory. + * LICENSE file in the /src/features/compose/editor directory. */ import { HashtagNode } from '@lexical/hashtag'; diff --git a/src/features/compose/editor/nodes/mention-node.ts b/src/features/compose/editor/nodes/mention-node.ts index a559eda40..30dcb9b89 100644 --- a/src/features/compose/editor/nodes/mention-node.ts +++ b/src/features/compose/editor/nodes/mention-node.ts @@ -1,7 +1,7 @@ /** * This source code is derived from code from Meta Platforms, Inc. * and affiliates, licensed under the MIT license located in the - * LICENSE file in the /app/soapbox/features/compose/editor directory. + * LICENSE file in the /src/features/compose/editor directory. */ import { addClassNamesToElement } from '@lexical/utils'; diff --git a/src/features/compose/editor/plugins/autosuggest-plugin.tsx b/src/features/compose/editor/plugins/autosuggest-plugin.tsx index 6bd831c5a..1770b983e 100644 --- a/src/features/compose/editor/plugins/autosuggest-plugin.tsx +++ b/src/features/compose/editor/plugins/autosuggest-plugin.tsx @@ -1,7 +1,7 @@ /** * This source code is derived from code from Meta Platforms, Inc. * and affiliates, licensed under the MIT license located in the - * LICENSE file in the /app/soapbox/features/compose/editor directory. + * LICENSE file in the /src/features/compose/editor directory. */ import { useLexicalComposerContext } from '@lexical/react/LexicalComposerContext'; diff --git a/src/features/compose/editor/plugins/link-plugin.tsx b/src/features/compose/editor/plugins/link-plugin.tsx index 07f24f447..175f3184f 100644 --- a/src/features/compose/editor/plugins/link-plugin.tsx +++ b/src/features/compose/editor/plugins/link-plugin.tsx @@ -1,7 +1,7 @@ /** * This source code is derived from code from Meta Platforms, Inc. * and affiliates, licensed under the MIT license located in the - * LICENSE file in the /app/soapbox/features/compose/editor directory. + * LICENSE file in the /src/features/compose/editor directory. */ import { LinkPlugin as LexicalLinkPlugin } from '@lexical/react/LexicalLinkPlugin'; diff --git a/src/features/compose/editor/utils/get-dom-range-rect.ts b/src/features/compose/editor/utils/get-dom-range-rect.ts index 4f8d9eb0d..fe6d10ad0 100644 --- a/src/features/compose/editor/utils/get-dom-range-rect.ts +++ b/src/features/compose/editor/utils/get-dom-range-rect.ts @@ -1,7 +1,7 @@ /** * This source code is derived from code from Meta Platforms, Inc. * and affiliates, licensed under the MIT license located in the - * LICENSE file in the /app/soapbox/features/compose/editor directory. + * LICENSE file in the /src/features/compose/editor directory. */ /* eslint-disable eqeqeq */ diff --git a/src/features/compose/editor/utils/get-selected-node.ts b/src/features/compose/editor/utils/get-selected-node.ts index 992eafa0a..2f093b983 100644 --- a/src/features/compose/editor/utils/get-selected-node.ts +++ b/src/features/compose/editor/utils/get-selected-node.ts @@ -1,7 +1,7 @@ /** * This source code is derived from code from Meta Platforms, Inc. * and affiliates, licensed under the MIT license located in the - * LICENSE file in the /app/soapbox/features/compose/editor directory. + * LICENSE file in the /src/features/compose/editor directory. */ import { $isAtNodeEnd } from '@lexical/selection'; diff --git a/src/features/compose/editor/utils/point.ts b/src/features/compose/editor/utils/point.ts index f8de0f168..38e825b18 100644 --- a/src/features/compose/editor/utils/point.ts +++ b/src/features/compose/editor/utils/point.ts @@ -1,7 +1,7 @@ /** * This source code is derived from code from Meta Platforms, Inc. * and affiliates, licensed under the MIT license located in the - * LICENSE file in the /app/soapbox/features/compose/editor directory. + * LICENSE file in the /src/features/compose/editor directory. */ class Point { diff --git a/src/features/compose/editor/utils/rect.ts b/src/features/compose/editor/utils/rect.ts index 901f30411..9a23d85e5 100644 --- a/src/features/compose/editor/utils/rect.ts +++ b/src/features/compose/editor/utils/rect.ts @@ -2,7 +2,7 @@ /** * This source code is derived from code from Meta Platforms, Inc. * and affiliates, licensed under the MIT license located in the - * LICENSE file in the /app/soapbox/features/compose/editor directory. + * LICENSE file in the /src/features/compose/editor directory. */ import { isPoint, Point } from './point'; diff --git a/src/features/compose/editor/utils/set-floating-elem-position.ts b/src/features/compose/editor/utils/set-floating-elem-position.ts index e9271e3dd..371b383cc 100644 --- a/src/features/compose/editor/utils/set-floating-elem-position.ts +++ b/src/features/compose/editor/utils/set-floating-elem-position.ts @@ -1,7 +1,7 @@ /** * This source code is derived from code from Meta Platforms, Inc. * and affiliates, licensed under the MIT license located in the - * LICENSE file in the /app/soapbox/features/compose/editor directory. + * LICENSE file in the /src/features/compose/editor directory. */ const VERTICAL_GAP = 10; diff --git a/src/features/compose/editor/utils/url.ts b/src/features/compose/editor/utils/url.ts index f10af4e5c..412a77a2d 100644 --- a/src/features/compose/editor/utils/url.ts +++ b/src/features/compose/editor/utils/url.ts @@ -1,7 +1,7 @@ /** * This source code is derived from code from Meta Platforms, Inc. * and affiliates, licensed under the MIT license located in the - * LICENSE file in the /app/soapbox/features/compose/editor directory. + * LICENSE file in the /src/features/compose/editor directory. */ export const sanitizeUrl = (url: string): string => {