From 6368ccf5ac0554bc550e8e6f7769dcff54dfbb7c Mon Sep 17 00:00:00 2001
From: Kristin Aoki <42981026+KristinAoki@users.noreply.github.com>
Date: Mon, 5 Dec 2022 12:43:14 -0500
Subject: [PATCH] feat: show view license link at all levels (#157)
---
.../LicenseWidget/LicenseDisplay.jsx | 19 ++++++++-----------
.../LicenseDisplay.test.jsx.snap | 11 +++++++++++
.../__snapshots__/index.test.jsx.snap | 3 ---
.../components/LicenseWidget/index.jsx | 1 -
4 files changed, 19 insertions(+), 15 deletions(-)
diff --git a/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDisplay.jsx b/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDisplay.jsx
index 33cb0b290..9fcfd067e 100644
--- a/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDisplay.jsx
+++ b/src/editors/containers/VideoEditor/components/VideoSettingsModal/components/LicenseWidget/LicenseDisplay.jsx
@@ -10,7 +10,7 @@ import {
Hyperlink,
} from '@edx/paragon';
-import { LicenseLevel, LicenseTypes } from '../../../../../../data/constants/licenses';
+import { LicenseTypes } from '../../../../../../data/constants/licenses';
import LicenseBlurb from './LicenseBlurb';
import { messages } from './messages';
@@ -19,7 +19,6 @@ export const LicenseDisplay = ({
license,
details,
licenseDescription,
- level,
}) => {
if (license !== LicenseTypes.select) {
return (
@@ -29,15 +28,13 @@ export const LicenseDisplay = ({