feat: use drawer instead of modal for sql query

This commit is contained in:
steven
2023-03-28 16:43:15 +08:00
parent 2fb70e11ff
commit 65f2100f50
8 changed files with 503 additions and 88 deletions

View File

@ -12,7 +12,7 @@ interface LayoutState {
toggleSidebar: (show?: boolean) => void;
}
export const useLayoutStore = create<LayoutState>()((set, get) => ({
export const useLayoutStore = create<LayoutState>()((set) => ({
showSidebar: true,
toggleSidebar: (show) => {
if (isUndefined(show)) {