Skip to content

Commit

Permalink
Performance Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivangM committed Mar 21, 2023
1 parent 789b51c commit bf76708
Show file tree
Hide file tree
Showing 3 changed files with 2,423 additions and 5 deletions.
4 changes: 2 additions & 2 deletions components/Timeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ const Timeline = (props: Props) => {
) : null}
</div>
<div className="mt-3 sm:pr-8">
<h3 className="text-lg font-semibold text-white whitespace-nowrap">
<h4 className="text-lg font-semibold text-white whitespace-nowrap">
{title}
</h3>
</h4>
<time className="block mb-2 text-sm font-normal leading-none text-gray-100">
{moment(startDate).format('Do MMM YYYY')}
{endDate ? (
Expand Down
7 changes: 4 additions & 3 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ export default function Document() {
src="https://apply.devfolio.co/v2/sdk.js"
async
defer
strategy="lazyOnload"
onError={(err) => {
console.error(err);
}}
onLoad={() => {
console.log('Loaded');
}}
// onLoad={() => {
// console.log('Loaded');
// }}
/>
</Html>
);
Expand Down
Loading

0 comments on commit bf76708

Please sign in to comment.