This commit is contained in:
ThatOneCalculator 2022-09-09 13:32:52 -07:00
parent 86d6fe7b04
commit 09d3740c67
1 changed files with 2 additions and 2 deletions

View File

@ -59,10 +59,10 @@ const props = defineProps<{
tag?: string; tag?: string;
}>(); }>();
// let tab = $ref('featured'); let featured = $ref('featured');
const tab = $computed({ const tab = $computed({
get: () => $ref('featured'), get: () => featured,
set: (x) => { set: (x) => {
syncSlide(['featured', 'users', 'search'].indexOf(x)); syncSlide(['featured', 'users', 'search'].indexOf(x));
}, },