diff --git a/packages/docs/src/components/CampaignBar.js b/packages/docs/src/components/CampaignBar.js index f8cc55c04..ca56a3aeb 100644 --- a/packages/docs/src/components/CampaignBar.js +++ b/packages/docs/src/components/CampaignBar.js @@ -1,6 +1,5 @@ import styles from './CampaignBar.module.css'; import React, { useState, useEffect } from 'react'; -import { Campaign } from '@lukasbach/campaigns-react'; const localStorageKey = 'hide-campaign-bar'; const days = 1000 * 60 * 60 * 24; @@ -18,32 +17,21 @@ export default function CampaignBar() { } return ( - - campaign && ( -
- -
Also checkout:
-
{campaign.product}
-
{campaign.short}
-
-
{ - setHide(true); - localStorage.setItem(localStorageKey, `${Date.now()}`); - }} - > - × -
-
- ) - } - /> +
+ +
Github Sponsors
+
If react-complex-tree provides meaningful value to you, consider supporting its developement and maintanence by sponsoring on Github
+
+
{ + setHide(true); + localStorage.setItem(localStorageKey, `${Date.now()}`); + }} + > + × +
+
); }