Remove commented-out and unused allowLineBreaks settings for binop explain

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2024-09-09 11:19:02 +02:00
parent ff41d45bae
commit d7bacf96c7

View file

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