Skip to content

Commit

Permalink
Remove unnecessary flags
Browse files Browse the repository at this point in the history
  • Loading branch information
benitav committed Apr 17, 2024
1 parent d31d9f9 commit bc9eca5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
6 changes: 1 addition & 5 deletions demos/example-vite/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ let PowerSync;
const openDatabase = async () => {
PowerSync = new WASQLitePowerSyncDatabaseOpenFactory({
schema: AppSchema,
dbFilename: 'test.sqlite',
flags: {
// This is disabled once CSR+SSR functionality is verified to be working correctly
disableSSRWarning: true
}
dbFilename: 'test.sqlite'
}).getInstance();

await PowerSync.init();
Expand Down
6 changes: 1 addition & 5 deletions demos/example-webpack/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ let PowerSync;
const openDatabase = async () => {
PowerSync = new WASQLitePowerSyncDatabaseOpenFactory({
schema: AppSchema,
dbFilename: 'test.sqlite',
flags: {
// This is disabled once CSR+SSR functionality is verified to be working correctly
disableSSRWarning: true
}
dbFilename: 'test.sqlite'
}).getInstance();

await PowerSync.init();
Expand Down

0 comments on commit bc9eca5

Please sign in to comment.