Skip to content

Commit

Permalink
Remove unnecessary await
Browse files Browse the repository at this point in the history
  • Loading branch information
DianaDerevyankina committed Sep 10, 2021
1 parent 870a54b commit 16c9938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/vis_type_timeseries/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export class VisTypeTimeseriesPlugin implements Plugin<VisTypeTimeseriesSetup> {
getFieldFormatsService: async (uiSettings) => {
const [, { data }] = await core.getStartServices();

return await data.fieldFormats.fieldFormatServiceFactory(uiSettings);
return data.fieldFormats.fieldFormatServiceFactory(uiSettings);
},
};

Expand Down

0 comments on commit 16c9938

Please sign in to comment.