|
|
@ -326,12 +326,8 @@ const explainError = (
|
|
|
|
const VectorVectorBinaryExprExplainView: FC<
|
|
|
|
const VectorVectorBinaryExprExplainView: FC<
|
|
|
|
VectorVectorBinaryExprExplainViewProps
|
|
|
|
VectorVectorBinaryExprExplainViewProps
|
|
|
|
> = ({ node, lhs, rhs }) => {
|
|
|
|
> = ({ node, lhs, rhs }) => {
|
|
|
|
// TODO: Don't use Mantine's local storage as a one-off here.
|
|
|
|
// TODO: Don't use Mantine's local storage as a one-off here. Decide whether we
|
|
|
|
// const [allowLineBreaks, setAllowLineBreaks] = useLocalStorage<boolean>({
|
|
|
|
// want to keep Redux, and then do it only via one or the other everywhere.
|
|
|
|
// key: "queryPage.explain.binaryOperators.breakLongLines",
|
|
|
|
|
|
|
|
// defaultValue: true,
|
|
|
|
|
|
|
|
// });
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const [showSampleValues, setShowSampleValues] = useLocalStorage<boolean>({
|
|
|
|
const [showSampleValues, setShowSampleValues] = useLocalStorage<boolean>({
|
|
|
|
key: "queryPage.explain.binaryOperators.showSampleValues",
|
|
|
|
key: "queryPage.explain.binaryOperators.showSampleValues",
|
|
|
|
defaultValue: false,
|
|
|
|
defaultValue: false,
|
|
|
|