Add EsLint
This commit is contained in:
@@ -38,8 +38,6 @@ $: availableBranches = $branches.map((branch) => ({
|
||||
value: branch
|
||||
}))
|
||||
|
||||
$: console.log(availableBranches)
|
||||
|
||||
async function createBranch() {
|
||||
const name = prompt("Branch name:")
|
||||
if (name) {
|
||||
|
||||
@@ -26,11 +26,11 @@
|
||||
let editor: HTMLTextAreaElement;
|
||||
let mde: EasyMDE;
|
||||
|
||||
onMount(() => {
|
||||
onMount(async () => {
|
||||
mde = new EasyMDE({
|
||||
element: editor,
|
||||
initialValue: value,
|
||||
spellChecker: false,
|
||||
spellChecker: false
|
||||
})
|
||||
mde.codemirror.on("change", () => {
|
||||
value = mde.value();
|
||||
|
||||
Reference in New Issue
Block a user