mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-09-28 18:43:53 +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