Skip to content

Commit

Permalink
refactor: Update dayjs imports
Browse files Browse the repository at this point in the history
  • Loading branch information
yosvelquintero committed Jun 20, 2024
1 parent 08d2d87 commit d80a534
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/core/state/src/lib/+state/app/app.reducer.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Action, createReducer, on } from '@ngrx/store';
import * as dayjs from 'dayjs';
import dayjs from 'dayjs';

import { STORE } from '@console-core/config';
import { EActionStatus, IAppState, INotification } from '@console-core/types';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Component, ChangeDetectionStrategy } from '@angular/core';
import * as dayjs from 'dayjs';
import dayjs from 'dayjs';

import { APP, ROUTER } from '@console-core/config';
@Component({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {
Input,
OnInit,
} from '@angular/core';
import * as dayjs from 'dayjs';
import * as relativeTime from 'dayjs/plugin/relativeTime';
import dayjs from 'dayjs';
import relativeTime from 'dayjs/plugin/relativeTime';

import {
IoRestorecommerceProductPhysicalVariant,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
HostBinding,
Input,
} from '@angular/core';
import * as dayjs from 'dayjs';
import * as relativeTime from 'dayjs/plugin/relativeTime';
import dayjs from 'dayjs';
import relativeTime from 'dayjs/plugin/relativeTime';

dayjs.extend(relativeTime);

Expand Down

0 comments on commit d80a534

Please sign in to comment.