Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
apedroferreira committed Jan 31, 2024
1 parent 9d4f81d commit b26127f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/toolpad-app/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ export const TOOLPAD_BRIDGE_GLOBAL = '__TOOLPAD_BRIDGE__';
export const VERSION_CHECK_INTERVAL = 1000 * 60 * 10;

// TODO: Remove once global functions UI is ready
export const FEATURE_FLAG_GLOBAL_FUNCTIONS = false;
export const FEATURE_FLAG_GLOBAL_FUNCTIONS = false;
8 changes: 4 additions & 4 deletions packages/toolpad-app/src/toolpad/Toolpad.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { APP_FUNCTIONS_ROUTE } from '../routes';
import ToolpadShell from './ToolpadShell';
import { getViewFromPathname } from '../utils/domView';
import AppProvider, { AppState, useAppStateContext } from './AppState';
import { FEATURE_FLAG_GLOBAL_FUNCTIONS } from '../constants';
import { FEATURE_FLAG_GLOBAL_FUNCTIONS } from '../constants';
import { ProjectProvider } from '../project';
import AppAuthorizationDialog from './AppEditor/AppAuthorizationEditor';

Expand Down Expand Up @@ -104,9 +104,9 @@ function EditorShell({ children }: EditorShellProps) {
return (
<ToolpadShell
navigation={
<Stack sx={{ ml: 3 }}>
<Button onClick={handleAuthorizationDialogOpen}>Authorization</Button>
</Stack>
<Stack sx={{ ml: 3 }}>
<Button onClick={handleAuthorizationDialogOpen}>Authorization</Button>
</Stack>
}
actions={
previewPath ? (
Expand Down

0 comments on commit b26127f

Please sign in to comment.