mirror of
https://github.com/Fluffy-Bean/TastyBites.git
synced 2025-06-13 13:43:13 +00:00
Effort to transition to TypeScript
Remove commit warnings
This commit is contained in:
parent
4f0ecd33e4
commit
1486c1b70a
18 changed files with 93 additions and 87 deletions
|
@ -1,9 +1,9 @@
|
|||
<script>
|
||||
import { PaperPlaneRight, SealWarning, SealCheck } from "phosphor-svelte";
|
||||
|
||||
import DropDown from "%/components/DropDown.svelte";
|
||||
import { postContactEmail } from "%/lib/test-api.ts";
|
||||
import { expandOnTyping } from "%/lib/utils.js";
|
||||
import { postContactEmail } from "../lib/test-api";
|
||||
import { expandOnTyping } from "../lib/utils";
|
||||
import DropDown from "../components/DropDown.svelte";
|
||||
|
||||
const minMessageLength = 150;
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
|||
messageValid = message.length > minMessageLength
|
||||
}
|
||||
|
||||
function onSubmit(event) {
|
||||
function onSubmit() {
|
||||
formMessage = postContactEmail(name, email, message);
|
||||
}
|
||||
</script>
|
||||
|
@ -117,7 +117,7 @@
|
|||
</form>
|
||||
|
||||
<style lang="scss">
|
||||
@import "%/styles/vars";
|
||||
@import "../styles/vars";
|
||||
|
||||
#name, #email {
|
||||
width: 300px;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue