Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quick Fix Import Button #12051

Merged
merged 8 commits into from
Jan 20, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Removing unnecessary lines
JaroslavTulach committed Jan 20, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 80b9575e501fdcd6ac2de5c9a213cb881c7661e2
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@ import SvgButton from '@/components/SvgButton.vue'
import SvgIcon from '@/components/SvgIcon.vue'
import { useGraphStore } from '@/stores/graph'
import { QualifiedImport } from '@/stores/graph/imports'
import type { Icon } from '@/util/iconName'
import { QualifiedName } from '@/util/qualifiedName'
import type { Icon } from '@/util/iconMetadata/iconName'
@@ -30,7 +29,6 @@ function copyText() {
function fixImport() {
const libName = containsLibraryName()
if (typeof libName == `string`) {
window.navigator.clipboard.writeText(libName)
const theImport = {
kind: 'Qualified',
module: libName as QualifiedName,