mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-10 23:11:01 +00:00
commit
a179b15300
2 changed files with 3 additions and 1 deletions
|
|
@ -7,6 +7,7 @@ interface Props {
|
|||
|
||||
const SignOutButton: React.FC<Props> = ({ children }) => {
|
||||
const signoutOnClick = (e) => {
|
||||
localStorage.clear();
|
||||
window.location.href = '/logout';
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -196,7 +196,8 @@ export const QueryBuilderContainer = () => {
|
|||
|
||||
return (
|
||||
<Fragment>
|
||||
{tables.length > 0 ? (
|
||||
{/* check if tables is not null AND tables.length > 0 */}
|
||||
{(tables && tables.length > 0) ? (
|
||||
<Split
|
||||
sizes={showBuilder ? colSizes : [0, 100]}
|
||||
cursor="col-resize"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue