diff --git a/dev-dist/sw.js b/dev-dist/sw.js index 4d12229..0ce0659 100644 --- a/dev-dist/sw.js +++ b/dev-dist/sw.js @@ -82,7 +82,7 @@ define(['./workbox-e7681877'], (function (workbox) { 'use strict'; "revision": "3ca0b8505b4bec776b69afdba2768812" }, { "url": "index.html", - "revision": "0.qrm0hc87vi" + "revision": "0.l1l8csoi5qg" }], {}); workbox.cleanupOutdatedCaches(); workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), { diff --git a/src/pages/annoncement/List.tsx b/src/pages/annoncement/List.tsx index 5e79b0f..80f286f 100644 --- a/src/pages/annoncement/List.tsx +++ b/src/pages/annoncement/List.tsx @@ -6,10 +6,10 @@ import { clx } from '../../helpers/utils' import { useNavigate } from 'react-router-dom' import { Pages } from '../../config/Pages' import { useGetAnnoncement } from './hooks/useAnnoncementData' -import PageLoading from '../../components/PageLoading' import { AnnoncementItemType } from './types/AnnoncementTypes' import moment from 'moment-jalaali' import { Helmet } from 'react-helmet-async' +import AnouncementSkeleton from './components/AnouncementSkeleton' const AnnouncementtList: FC = () => { @@ -62,59 +62,59 @@ const AnnouncementtList: FC = () => { */} - { - getAnnoncements.isPending ? -
| - {/* | */} - | - | - | - | - | - | - | - |
| - {/* | */} - |
-
- {moment(item.createdAt).format('jYYYY-jMM-jDD HH:mm')}
-
- |
-
-
- {moment(item.dueDate).format('jYYYY-jMM-jDD HH:mm')}
-
- |
- - |
-
- {
- item.items.map((item => {
- return (
-
- {item.name} ({item.count})
- )
- }))
- }
- |
- - | - |
-
- |
-
| + {/* | */} + | + | + | + | + | + | + | + |