Revert "Merge pull request #42 from toeverything/feat/sub-page"

This reverts commit cf6491fb0c, reversing
changes made to e12deb302f.
This commit is contained in:
DarkSky
2022-08-05 22:06:31 +08:00
parent cf6491fb0c
commit ecc7080179
16 changed files with 63 additions and 164 deletions
+2 -11
View File
@@ -2,15 +2,7 @@
## Usage
- Set token at environment variable
- The key can be obtained from the [Feature Flag Portal](https://portal.featureflag.co/account-settings/projects)
```shell
# .env.local
AFFINE_FEATURE_FLAG_TOKEN=XXXXXXX
```
- Set provider
- set provider
```tsx
import { FeatureFlagsProvider } from '@toeverything/datasource/feature-flags';
@@ -50,8 +42,7 @@ const App = () => {
**When entering development mode feature flag will NOT be updated in real time**
- `activateFfcDevMode(PASSWORD)` play with feature flags locally
- The `devModePassword` can be obtained from `src/config.ts`
- `activateFfcDevMode()` play with feature flags locally
- `quitFfcDevMode()` quit dev mode
## Running unit tests