Skip to content

Commit

Permalink
lovercase emotion function
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed May 4, 2022
1 parent 108f0ad commit eca5885
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

export const DATA_VIEW_POPOVER_CONTENT_WIDTH = 280;

export const ChangeDataViewStyles = ({ fullWidth }: { fullWidth?: boolean }) => {
export const changeDataViewStyles = ({ fullWidth }: { fullWidth?: boolean }) => {
return {
trigger: {
maxWidth: fullWidth ? undefined : DATA_VIEW_POPOVER_CONTENT_WIDTH,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { IDataPluginServices } from '@kbn/data-plugin/public';
import { useKibana } from '@kbn/kibana-react-plugin/public';
import type { DataViewPickerProps } from '.';
import { DataViewsList } from './dataview_list';
import { ChangeDataViewStyles } from './change_dataview.styles';
import { changeDataViewStyles } from './change_dataview.styles';

const NEW_DATA_VIEW_MENU_STORAGE_KEY = 'data.newDataViewMenu';

Expand Down Expand Up @@ -66,7 +66,7 @@ export function ChangeDataView({
const [triggerLabel, setTriggerLabel] = useState('');
const kibana = useKibana<IDataPluginServices>();
const { application, data, storage } = kibana.services;
const styles = ChangeDataViewStyles({ fullWidth: trigger.fullWidth });
const styles = changeDataViewStyles({ fullWidth: trigger.fullWidth });

const [isTourDismissed, setIsTourDismissed] = useState(() =>
Boolean(storage.get(NEW_DATA_VIEW_MENU_STORAGE_KEY))
Expand Down

0 comments on commit eca5885

Please sign in to comment.