Replace with vue/no-setup-props-reactivity-loss rule (#14062)
This commit is contained in:
parent
a9012d3d0c
commit
4d2eddec2e
9 changed files with 10 additions and 10 deletions
|
|
@ -169,7 +169,7 @@ const props = defineProps<{
|
|||
const showBoardLabels = ref<boolean>(false);
|
||||
const useAvatarAsStone = ref<boolean>(true);
|
||||
const autoplaying = ref<boolean>(false);
|
||||
// eslint-disable-next-line vue/no-setup-props-destructure
|
||||
// eslint-disable-next-line vue/no-setup-props-reactivity-loss
|
||||
const game = ref<Misskey.entities.ReversiGameDetailed & { logs: Reversi.Serializer.SerializedLog[] }>(deepClone(props.game));
|
||||
const logPos = ref<number>(game.value.logs.length);
|
||||
const engine = shallowRef<Reversi.Game>(Reversi.Serializer.restoreGame({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue