mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-07-30 02:32:03 +08:00
feat: use drawer instead of modal for sql query
This commit is contained in:
@ -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)) {
|
||||
|
Reference in New Issue
Block a user