Skip to content

Commit

Permalink
fix: remove temporary changes again
Browse files Browse the repository at this point in the history
  • Loading branch information
nimdanitro committed Oct 29, 2024
1 parent 775ab47 commit 4e595a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ jobs:
- uses: flipt-io/[email protected]
- run: flipt validate
- name: Build and Push bundle
#if: github.ref == 'refs/heads/develop'
# only build and push feature flags from the develop branch
if: github.ref == 'refs/heads/develop'
env:
FLIPT_STORAGE_OCI_AUTHENTICATION_USERNAME: ${{ github.actor }}
FLIPT_STORAGE_OCI_AUTHENTICATION_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 0 additions & 2 deletions ui/src/FeatureFlags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const Provider = (props: PropsWithChildren) => {

useEffect(() => {
const fliptProvider = new FliptWebProvider("sitrep-ui", { url: "https://flipt.sitrep.ch" });
OpenFeature.setLogger(console);
OpenFeature.setProvider("local", new InMemoryProvider(localFlagConfig));
OpenFeature.setProvider(fliptProvider);
}, []);
Expand All @@ -39,7 +38,6 @@ const Provider = (props: PropsWithChildren) => {
email: userState.email,
};
OpenFeature.setContext(context);
console.log("setting context", context);
}, [userState]);

return <OpenFeatureProvider>{children}</OpenFeatureProvider>;
Expand Down

0 comments on commit 4e595a6

Please sign in to comment.