Skip to content

Commit

Permalink
fix import
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas ONeil <[email protected]>
  • Loading branch information
loneil committed Feb 2, 2024
1 parent 5ff4424 commit a2825f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/tenant-ui/frontend/src/components/profile/JWT.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ import Accordion from 'primevue/accordion';
import AccordionTab from 'primevue/accordiontab';
import Button from 'primevue/button';
import 'primeicons/primeicons.css';
import jwtDecode from 'jwt-decode';
import { jwtDecode } from "jwt-decode";

Check warning on line 46 in services/tenant-ui/frontend/src/components/profile/JWT.vue

View workflow job for this annotation

GitHub Actions / Build Tenant UI

Replace `"jwt-decode"` with `'jwt-decode'`
import { useToast } from 'vue-toastification';
const toast = useToast();
const { token } = storeToRefs(useTokenStore());
const decodedToken: Ref<unknown> = computed(() => jwtDecode(token.value ?? ''));
const decodedToken: Ref<string> = computed(() => jwtDecode(token.value ?? ''));
const copyToClipboard = (text: string) => {
navigator.clipboard.writeText(text);
Expand Down

0 comments on commit a2825f1

Please sign in to comment.