Skip to content

Commit

Permalink
Formatting update
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKrol committed Dec 29, 2024
1 parent 3aa7345 commit 44e823c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
3 changes: 2 additions & 1 deletion frontend/src/lib/components/editors/DocumentEditor.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@
.commit-modal-close {
position: sticky;
/*cursor: pointer;*/
/* cursor: pointer; */
margin-top: 0.2rem;
margin-right: 0.2rem;
float: right;
Expand Down
14 changes: 4 additions & 10 deletions frontend/src/lib/components/topbar/PullRequest.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
<script lang="ts">
import { onMount } from 'svelte';
import { ToastType, addToast } from '$lib/toast';
import {
apiAddress,
branchName,
currentFile,
me,
baseBranch
} from '$lib/main';
import { apiAddress, branchName, currentFile, me, baseBranch } from '$lib/main';
import type { Issue } from '$lib/types';
import { get } from 'svelte/store';

Check failure on line 7 in frontend/src/lib/components/topbar/PullRequest.svelte

View workflow job for this annotation

GitHub Actions / frontend-build

'get' is defined but never used
import LoadingIcon from '../elements/LoadingIcon.svelte';
Expand Down Expand Up @@ -162,7 +156,7 @@
}
showLoadingIcon = false;
closeModal();
};
}
async function updatePullRequest(): Promise<void> {
// Ensure the current user is the PR author
Expand Down Expand Up @@ -231,7 +225,7 @@
}
showLoadingIcon = false;
closeModal();
};
}
async function closePullRequest(): Promise<void> {
// Check if the current user is the PR author
Expand Down Expand Up @@ -280,7 +274,7 @@
}
showLoadingIcon = false;
};
}
async function checkOpenPullRequests() {
showLoadingIcon = true;
Expand Down

0 comments on commit 44e823c

Please sign in to comment.