mirror of
https://github.com/TeamPiped/Piped.git
synced 2026-05-03 05:57:49 +00:00
Migrate code to composition api.
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
<script>
|
||||
export default {
|
||||
props: {
|
||||
link: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
platform: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: "YouTube",
|
||||
},
|
||||
<script setup>
|
||||
import { getPreferenceBoolean } from "@/composables/usePreferences.js";
|
||||
|
||||
defineProps({
|
||||
link: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
};
|
||||
platform: {
|
||||
type: String,
|
||||
required: false,
|
||||
default: "YouTube",
|
||||
},
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
||||
Reference in New Issue
Block a user