🎨 Improve readability by reformatting computed property definition
This commit is contained in:
@@ -129,7 +129,9 @@ const internalSelectionState = useLineSelection(
|
|||||||
fileContent,
|
fileContent,
|
||||||
selectedFile
|
selectedFile
|
||||||
);
|
);
|
||||||
const activeSelectionState = computed(() => props.selectionState || internalSelectionState);
|
const activeSelectionState = computed(
|
||||||
|
() => props.selectionState || internalSelectionState
|
||||||
|
);
|
||||||
const { selectedLines, toggleLineSelection } = activeSelectionState.value;
|
const { selectedLines, toggleLineSelection } = activeSelectionState.value;
|
||||||
|
|
||||||
const isCurrentResult = lineNumber => {
|
const isCurrentResult = lineNumber => {
|
||||||
|
|||||||
Reference in New Issue
Block a user