This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { useState, useEffect, useCallback } from 'react'; | |
| const initializeFb = () => | |
| // eslint-disable-next-line no-unused-vars | |
| new Promise((resolve, _reject) => { | |
| if (typeof FB !== 'undefined') { | |
| resolve(); | |
| } else { | |
| // eslint-disable-next-line func-names | |
| window.fbAsyncInit = function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { | |
| add, | |
| eachMonthOfInterval, | |
| endOfYear, | |
| format, | |
| isEqual, | |
| isFuture, | |
| parse, | |
| startOfMonth, | |
| startOfToday, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| declare module 'lucide-react' { | |
| export * from 'lucide-react/dist/lucide-react.suffixed' | |
| } |
OlderNewer