Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion resources/js/components/AuthModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@
</Teleport>
</template>

<script setup>

Check failure on line 847 in resources/js/components/AuthModal.vue

View workflow job for this annotation

GitHub Actions / tests

The 'lang' attribute of '<script>' is missing
import { ref, computed, watch, nextTick, inject } from "vue";
import { useAuthStore } from "~/stores/auth";
import CloudflareTurnstile from "@/components/Captcha/CloudflareTurnstile.vue";
Expand Down Expand Up @@ -1078,7 +1078,7 @@
loading.value = true;

try {
let data = {
const data = {
email: form.value.email,
captcha_type: form.value.captcha_type,
captcha_token: form.value.captcha_token,
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/Layout/Sidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ const mainLinks = computed(() => {
});

const footerLinks = computed(() => {
let links = [
const links = [
{ name: t("nav.about"), path: "/about" },
{ name: t("nav.contact"), path: "/contact" },
{ name: t("nav.community"), path: "/community-guidelines" },
Expand Down
10 changes: 5 additions & 5 deletions resources/js/components/Register.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@
</template>

<script setup>
let name = ref(null);
let email = ref(null);
let password = ref(null);
let confirmPassword = ref(null);
let errors = ref(null);
const name = ref(null);
const email = ref(null);
const password = ref(null);
const confirmPassword = ref(null);
const errors = ref(null);

const register = async () => {
errors.value = null;
Expand Down
2 changes: 1 addition & 1 deletion resources/js/pages/studio/upload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1118,7 +1118,7 @@ const handleSubmit = async () => {

isSubmitting.value = true;

let videoToUpload = uploadedFile.value;
const videoToUpload = uploadedFile.value;

try {
const formData = new FormData();
Expand Down
2 changes: 1 addition & 1 deletion resources/js/pages/v/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ const unlikePost = async () => {
};

const deletePost = async () => {
let res = confirm("Are you sure you want to delete this post?");
const res = confirm("Are you sure you want to delete this post?");
if (res) {
try {
await videoStore.deleteVideoById(currentVideo.value.id);
Expand Down
Loading